diff options
Diffstat (limited to 'apps')
-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 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() ) |