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

@ -72,8 +72,7 @@ MPL3115A2::MPL3115A2 (int bus, int devAddr, uint8_t mode) : m_i2ControlCtx(bus)
int
MPL3115A2::testSensor(void)
{
int i, iTries;
int iError = 0;
int iTries;
float pressure, temperature;
float fPMin, fPMax, fTMin, fTMax;
@ -113,7 +112,7 @@ MPL3115A2::testSensor(void)
void
MPL3115A2::dumpSensor(void)
{
int i, j, ival;
int i, j;
fprintf(stdout, "Dumping i2c block from %s\n", MPL3115A2_NAME);
for (i=0; i < 256; i+=16) {