From a3ff4317759d3b741a29beee0b02bae6a283ca73 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 1 Sep 2006 02:29:11 +0000 Subject: removed an unneeded variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10835 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/keyboard.c | 3 +-- apps/tree.c | 2 -- 2 files changed, 1 insertion(+), 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) #endif char outline[256]; - int button, lastbutton = 0; + int button; #ifdef HAS_BUTTONBAR struct gui_buttonbar buttonbar; bool buttonbar_config = global_settings.buttonbar; @@ -998,7 +998,6 @@ int kbd_input(char* text, int buflen) } if (button != BUTTON_NONE) { - lastbutton = button; cur_blink = true; } } 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) bool exit_func = false; long thumbnail_time = -1; /* for delaying a thumbnail */ - unsigned lastbutton = 0; char* currdir = tc.currdir; /* just a shortcut */ bool id3db = *tc.dirfilter == SHOW_ID3DB; @@ -871,7 +870,6 @@ static bool dirbrowse(void) if ( button ) { ata_spin(); - lastbutton = button; } if (start_wps && audio_status() ) -- cgit v1.2.3