mraa: Fix compiler warnings unused vars and useless statements
Should have 0 functionality effect, just cleans up a few things. Fixes #577 Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -86,7 +86,7 @@ mraa_up_board()
|
||||
mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t));
|
||||
|
||||
struct utsname running_uname;
|
||||
int uname_major, uname_minor, max_pins[27];
|
||||
int uname_major, uname_minor;
|
||||
|
||||
if (b == NULL) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user