misc: Fix more build warnings uncovered with GCC15 and -Wunused-const-variable

Change-Id: I43f5d03d8496b2ac8b30df30b14d1c6e816ef0e2
This commit is contained in:
Solomon Peachy 2025-04-21 21:53:56 -04:00
parent 9d4632b0c3
commit 3b974e791a
4 changed files with 8 additions and 4 deletions

View file

@ -155,7 +155,7 @@ MAKE_MENU(colors_settings, ID2P(LANG_COLORS_MENU),
&lss_settings, &set_sep_col,
&set_bg_col, &set_fg_col, &reset_colors
);
#endif /* HAVE_LCD_COLOR */
/* LCD MENU */
/***********************************/
@ -211,12 +211,14 @@ MENUITEM_SETTING(remote_statusbar, &global_settings.remote_statusbar,
statusbar_callback_remote);
#endif
MENUITEM_SETTING(volume_type, &global_settings.volume_type, NULL);
#if (CONFIG_BATTERY_MEASURE != 0)
MENUITEM_SETTING(battery_display, &global_settings.battery_display, NULL);
#endif
MAKE_MENU(bars_menu, ID2P(LANG_BARS_MENU), 0, Icon_NOICON,
&scrollbar_item, &scrollbar_width, &statusbar,
#ifdef HAVE_REMOTE_LCD
&remote_statusbar,
#endif
#endif
&volume_type
#if (CONFIG_BATTERY_MEASURE != 0)
, &battery_display