summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-08-12 15:03:56 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-08-12 15:03:56 -0400
commit6e69241279e5abfc2137d3fb28fe4af04b6e4256 (patch)
tree4e44ddc6f27f25340fd23ea79f93f87eaf0d93b2
parent15e52374698ba7395ff0ece0d3d70435a66406c4 (diff)
downloadrockbox-6e69241279.tar.gz
rockbox-6e69241279.zip
Fix some of the red in 15e52374
Change-Id: I712102ec09d6058567768b86430bc3120a179a40
-rw-r--r--apps/menus/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index bcaeee9089..622280d487 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -162,12 +162,12 @@ enum infoscreenorder
*/
static int refresh_data(struct info_data *info)
{
+ int i = 0;
#ifdef HAVE_MULTIVOLUME
#ifdef HAVE_MULTIDRIVE
int max = -1;
#endif
int drive = 0;
- int i = 0;
for (i = 0 ; CHECK_VOL(i) ; i++) {
#endif
volume_size(IF_MV(i,) &info->size[i], &info->free[i]);