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

@ -57,7 +57,7 @@ MAX5487::setWiperA (uint8_t wiper) {
data[0] = R_WR_WIPER_A;
data[1] = wiper;
uint8_t* retData = m_spi.write(data, 2);
m_spi.write(data, 2);
CSOff ();
}
@ -71,7 +71,7 @@ MAX5487::setWiperB (uint8_t wiper) {
data[0] = R_WR_WIPER_B;
data[1] = wiper;
uint8_t* retData = m_spi.write(data, 2);
m_spi.write(data, 2);
CSOff ();
}