mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
Wunused-variable: Fixed all unused variables in src
This commit addresses all warnings emitted from -Wunused-variable in the C++ src. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -37,7 +37,6 @@ using namespace upm;
|
||||
|
||||
MMA7455::MMA7455 (int bus, int devAddr) : m_i2ControlCtx(bus) {
|
||||
unsigned char data = 0;
|
||||
int nBytes = 0;
|
||||
|
||||
m_name = "MMA7455";
|
||||
|
||||
@ -98,7 +97,6 @@ MMA7455::calibrate () {
|
||||
mraa::Result
|
||||
MMA7455::readData (short * ptrX, short * ptrY, short * ptrZ) {
|
||||
accelData xyz;
|
||||
unsigned char data = 0;
|
||||
int nBytes = 0;
|
||||
|
||||
/*do {
|
||||
|
Reference in New Issue
Block a user