summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-09-01 02:29:11 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-09-01 02:29:11 +0000
commita3ff4317759d3b741a29beee0b02bae6a283ca73 (patch)
tree223c3b7c0dc0bdf9ce0f12119400aad3851ecb50
parentbad3a2be4a7e36d634bddf711fab8dd67ab59945 (diff)
downloadrockbox-a3ff4317759d3b741a29beee0b02bae6a283ca73.tar.gz
rockbox-a3ff4317759d3b741a29beee0b02bae6a283ca73.zip
removed an unneeded variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10835 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/keyboard.c3
-rw-r--r--apps/tree.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 8e82ab58f9..787876004a 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -288,7 +288,7 @@ int kbd_input(char* text, int buflen)
288#endif 288#endif
289 289
290 char outline[256]; 290 char outline[256];
291 int button, lastbutton = 0; 291 int button;
292#ifdef HAS_BUTTONBAR 292#ifdef HAS_BUTTONBAR
293 struct gui_buttonbar buttonbar; 293 struct gui_buttonbar buttonbar;
294 bool buttonbar_config = global_settings.buttonbar; 294 bool buttonbar_config = global_settings.buttonbar;
@@ -998,7 +998,6 @@ int kbd_input(char* text, int buflen)
998 } 998 }
999 if (button != BUTTON_NONE) 999 if (button != BUTTON_NONE)
1000 { 1000 {
1001 lastbutton = button;
1002 cur_blink = true; 1001 cur_blink = true;
1003 } 1002 }
1004 } 1003 }
diff --git a/apps/tree.c b/apps/tree.c
index 201906f2ce..82a7a3b1b6 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -556,7 +556,6 @@ static bool dirbrowse(void)
556 bool exit_func = false; 556 bool exit_func = false;
557 long thumbnail_time = -1; /* for delaying a thumbnail */ 557 long thumbnail_time = -1; /* for delaying a thumbnail */
558 558
559 unsigned lastbutton = 0;
560 char* currdir = tc.currdir; /* just a shortcut */ 559 char* currdir = tc.currdir; /* just a shortcut */
561 bool id3db = *tc.dirfilter == SHOW_ID3DB; 560 bool id3db = *tc.dirfilter == SHOW_ID3DB;
562 561
@@ -871,7 +870,6 @@ static bool dirbrowse(void)
871 if ( button ) 870 if ( button )
872 { 871 {
873 ata_spin(); 872 ata_spin();
874 lastbutton = button;
875 } 873 }
876 874
877 if (start_wps && audio_status() ) 875 if (start_wps && audio_status() )