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:
Noel Eck
2016-11-02 21:42:16 -07:00
parent 1f954a8cbf
commit a3a1fdc81b
25 changed files with 13 additions and 40 deletions

View File

@ -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 {