mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Hopfully fix up the remaining warnings
Change-Id: Iba1facabf4980b491d80842ef91e92d6bc374cfa
This commit is contained in:
parent
1bf19eaaff
commit
fb2316b9b0
1 changed files with 6 additions and 6 deletions
|
@ -172,8 +172,9 @@ static int refresh_data(struct info_data *info)
|
|||
int special = 0;
|
||||
#endif
|
||||
int drive = 0;
|
||||
for (i = 0 ; CHECK_VOL(i) ; i++) {
|
||||
for (i = 0 ; CHECK_VOL(i) ; i++)
|
||||
#endif
|
||||
{
|
||||
volume_size(IF_MV(i,) &info->size[i], &info->free[i]);
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
|
@ -194,8 +195,10 @@ static int refresh_data(struct info_data *info)
|
|||
special = 1;
|
||||
}
|
||||
#endif
|
||||
#if defined(HAVE_MULTIVOLUME) && (defined(HAVE_HOTSWAP) || defined(HAVE_HOTSWAP) || defined(HAVE_DIRCACHE) || defined(HAVE_BOOTDATA))
|
||||
if (volume_partition(i) == -1) {
|
||||
#if defined(HAVE_MULTIVOLUME) && (defined(HAVE_HOTSWAP) || defined(HAVE_DIRCACHE) || defined(HAVE_BOOTDATA)) // Is this #ifdef necessary?
|
||||
if (volume_partition(i) == -1)
|
||||
#endif
|
||||
{
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
if (special)
|
||||
info->name[i] = LANG_DISK_NAME_MMC;
|
||||
|
@ -204,13 +207,10 @@ static int refresh_data(struct info_data *info)
|
|||
info->name[i] = 0;
|
||||
break; /* ie stop when we run out of valid partitions */
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
}
|
||||
#endif
|
||||
|
||||
info->new_data = false;
|
||||
return i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue