mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix reds
Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273
This commit is contained in:
parent
3575372e01
commit
3505ad3753
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,7 @@ ssize_t sim_write(int fd, const void *buf, size_t count)
|
||||||
|
|
||||||
static const char *handle_special_links(const char* link)
|
static const char *handle_special_links(const char* link)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_MULTIDRIVE
|
||||||
static char buffer[MAX_PATH]; /* sufficiently big */
|
static char buffer[MAX_PATH]; /* sufficiently big */
|
||||||
char vol_string[VOL_ENUM_POS + 8];
|
char vol_string[VOL_ENUM_POS + 8];
|
||||||
int len = sprintf(vol_string, VOL_NAMES, 1);
|
int len = sprintf(vol_string, VOL_NAMES, 1);
|
||||||
|
@ -348,6 +349,7 @@ static const char *handle_special_links(const char* link)
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
return link;
|
return link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue