(void)var statements must come after any variable definitions in strict c
This commit is contained in:
parent
b9b555eae2
commit
02dbca0454
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user