diff options
| -rw-r--r-- | apps/recorder/keyboard.c | 3 | ||||
| -rw-r--r-- | apps/tree.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 8e82ab5..7878760 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 201906f..82a7a3b 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() ) |