summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-12 16:34:02 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-11-14 09:01:43 -0500
commit034b6d5bfb5bdedaf843079a02ff6df31488f394 (patch)
treecb63276749abdb266d77a1d2cdcd89622a1ddd35 /apps/tagtree.c
parentf94a14b85917787523b23f1031193858741f4d7b (diff)
downloadrockbox-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/tagtree.c')
-rw-r--r--apps/tagtree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index cad12e2a79..abb6cf5cb0 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -215,11 +215,11 @@ static int move_callback(int handle, void* current, void* new)
215 /* loop over menus */ 215 /* loop over menus */
216 for(int i = 0; i < menu_count; i++) 216 for(int i = 0; i < menu_count; i++)
217 { 217 {
218 struct menu_root* menu = menus[i]; 218 struct menu_root* menuroot = menus[i];
219 /* then over the menu_entries of a menu */ 219 /* then over the menu_entries of a menu */
220 for(int j = 0; j < menu->itemcount; j++) 220 for(int j = 0; j < menuroot->itemcount; j++)
221 { 221 {
222 struct menu_entry* mentry = menu->items[j]; 222 struct menu_entry* mentry = menuroot->items[j];
223 /* then over the search_instructions of each menu_entry */ 223 /* then over the search_instructions of each menu_entry */
224 for(int k = 0; k < mentry->si.tagorder_count; k++) 224 for(int k = 0; k < mentry->si.tagorder_count; k++)
225 { 225 {
@@ -230,7 +230,7 @@ static int move_callback(int handle, void* current, void* new)
230 UPDATE(mentry->si.clause[k][l], diff); 230 UPDATE(mentry->si.clause[k][l], diff);
231 } 231 }
232 } 232 }
233 UPDATE(menu->items[j], diff); 233 UPDATE(menuroot->items[j], diff);
234 } 234 }
235 UPDATE(menus[i], diff); 235 UPDATE(menus[i], diff);
236 } 236 }