summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Chicoine <mc2739@gmail.com>2009-12-09 15:42:59 +0000
committerMichael Chicoine <mc2739@gmail.com>2009-12-09 15:42:59 +0000
commit0fe2b0bf110a2166070ec1adfd5f0ced42f5292b (patch)
treea7dd494bfb64cb15f8f9b21f25e707a6f9267433 /apps
parent887d8180d294799c96eb85b50e51bb7a1a48131d (diff)
Fix red - resolve multiple variable definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index a3b971f3e8..e2c04e814f 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1751,13 +1751,13 @@ static int disk_callback(int btn, struct gui_synclist *lists)
if (card->initialized > 0)
{
- char temp[6] = "\0";
+ char card_name_temp[6] = "\0";
unsigned i;
for (i=0; i<sizeof(card_name); i++)
{
- temp[i] = card_extract_bits(card->cid, (103-8*i), 8);
+ card_name_temp[i] = card_extract_bits(card->cid, (103-8*i), 8);
}
- strlcpy(card_name, temp, sizeof(temp));
+ strlcpy(card_name, card_name_temp, sizeof(card_name_temp));
simplelist_addline(SIMPLELIST_ADD_LINE,
"%s Rev %d.%d", card_name,
(int) card_extract_bits(card->cid, 63, 4),