(void)var statements must come after any variable definitions in strict c

spinbox_widget
inmarket 2016-08-13 11:46:32 +10:00
parent b9b555eae2
commit 02dbca0454
1 changed files with 2 additions and 1 deletions

View File

@ -3170,10 +3170,11 @@ void gdispGDrawBox(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, co
/* Callback to render string boxes with word wrap. */
#if GDISP_NEED_TEXT_WORDWRAP
static bool mf_countline_callback(mf_str line, uint16_t count, void *state) {
uint16_t *linecount;
(void) line;
(void) count;
uint16_t *linecount = (uint16_t*)state;
linecount = (uint16_t*)state;
(*linecount)++;
return TRUE;