mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
misc: Clean up a pile of -Wunused-const-variable warnings
And re-enable the warning (applies to GCC 6+) Change-Id: I7aa679ec65707db12de83c0433966b3821d07087
This commit is contained in:
parent
c7eda36341
commit
9d4632b0c3
11 changed files with 29 additions and 17 deletions
|
@ -485,7 +485,7 @@ static const struct root_items items[] = {
|
|||
[GO_TO_SHORTCUTMENU] = { do_shortcut_menu, NULL, NULL },
|
||||
|
||||
};
|
||||
static const int nb_items = sizeof(items)/sizeof(*items);
|
||||
//static const int nb_items = sizeof(items)/sizeof(*items);
|
||||
|
||||
static int item_callback(int action,
|
||||
const struct menu_item_ex *this_item,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue