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

@ -179,7 +179,6 @@ KXCJK1013::extract3Axis(char* data, float* x, float* y, float* z)
{
mraa_iio_channel* channels = mraa_iio_get_channels(m_iio);
float tmp[3];
int i = 0;
int iio_x, iio_y, iio_z;
iio_x = getChannelValue((unsigned char*) (data + channels[0].location), &channels[0]);