forked from len0rd/rockbox
Fix several 'variable set but not used' warnings reported by GCC 6.4.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29871 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6484b45d71
commit
f7808c1fe5
13 changed files with 51 additions and 42 deletions
|
@ -381,7 +381,7 @@ t_canvas *canvas_new(void *dummy, t_symbol *sel, int argc, t_atom *argv)
|
|||
#ifdef ROCKBOX
|
||||
(void) dummy;
|
||||
(void) sel;
|
||||
int font = 10;
|
||||
int font __attribute__((unused)) = 10;
|
||||
#else /* ROCKBOX */
|
||||
int font = (owner ? owner->gl_font : sys_defaultfont);
|
||||
#endif /* ROCKBOX */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue