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

@ -136,7 +136,6 @@ void *do_draw(void *arg)
LoL::LoL() {
int i = 0;
mraa_result_t error;
for (i = 0; i < 12; i++)
{
if ( !(m_LoLCtx[i] = mraa_gpio_init(i+2)) )
@ -159,7 +158,6 @@ LoL::LoL() {
LoL::~LoL() {
int i = 0;
mraa_result_t error;
for (i = 0; i < 12; i++)
mraa_gpio_close(m_LoLCtx[i]);
}