diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-12 16:34:02 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-11-14 09:01:43 -0500 |
commit | 034b6d5bfb5bdedaf843079a02ff6df31488f394 (patch) | |
tree | cb63276749abdb266d77a1d2cdcd89622a1ddd35 /apps/recorder/keyboard.c | |
parent | f94a14b85917787523b23f1031193858741f4d7b (diff) | |
download | rockbox-034b6d5bfb5bdedaf843079a02ff6df31488f394.tar.gz rockbox-034b6d5bfb5bdedaf843079a02ff6df31488f394.zip |
Remove some shadowed variables identified by -Wshadow
there are plenty more but these are the low hanging fruit
Change-Id: I86d9f4f56e8cd9b381d1bf6a6679cd58c6a4004d
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r-- | apps/recorder/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index b6b5affb6a..45cccdcf8b 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -549,8 +549,8 @@ int kbd_input(char* text, int buflen, unsigned short *kbd) | |||
549 | { | 549 | { |
550 | /* declare scoped pointers inside screen loops - hide the | 550 | /* declare scoped pointers inside screen loops - hide the |
551 | declarations from previous block level */ | 551 | declarations from previous block level */ |
552 | struct keyboard_parameters *pm = ¶m[l]; | ||
553 | struct screen *sc = &screens[l]; | 552 | struct screen *sc = &screens[l]; |
553 | pm = ¶m[l]; | ||
554 | sc->clear_display(); | 554 | sc->clear_display(); |
555 | kbd_draw_picker(pm, sc, &state); | 555 | kbd_draw_picker(pm, sc, &state); |
556 | kbd_draw_edit_line(pm, sc, &state); | 556 | kbd_draw_edit_line(pm, sc, &state); |