summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-04-21 05:07:18 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-04-21 05:07:18 +0000
commit335de0b043cf2f9d624ee564ba63f0f9f2c5daeb (patch)
treeb884c8c0f5bb17323baea56578fb24781f830865 /apps
parent8a1fd8c686d2a4b8be36754e545338a476150e6a (diff)
downloadrockbox-335de0b043cf2f9d624ee564ba63f0f9f2c5daeb.tar.gz
rockbox-335de0b043cf2f9d624ee564ba63f0f9f2c5daeb.zip
Clean up that warning and pull out an unneeded #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13226 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 9f827e7b7b..0ffc85030e 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -88,10 +88,6 @@
#endif
#include "hwcompat.h"
-#if CONFIG_CPU == S3C2440
-#include "s3c2440.h"
-#endif
-
#ifndef SIMULATOR
static bool dbg_list(char *title, int count, int selection_size,
int (*action_callback)(int btn, struct gui_synclist *lists),
@@ -1139,7 +1135,7 @@ bool dbg_ports(void)
}
#elif CONFIG_CPU == S3C2440
char buf[128];
- int line, fd;
+ int line;
lcd_setmargins(0, 0);
lcd_clear_display();