summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 02dc19359b..800e485ce3 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1726,6 +1726,7 @@ static bool dbg_disk_info(void)
1726#ifdef HAVE_DIRCACHE 1726#ifdef HAVE_DIRCACHE
1727static int dircache_callback(int btn, struct gui_synclist *lists) 1727static int dircache_callback(int btn, struct gui_synclist *lists)
1728{ 1728{
1729 (void)lists;
1729 struct dircache_info info; 1730 struct dircache_info info;
1730 dircache_get_info(&info); 1731 dircache_get_info(&info);
1731 1732
@@ -1737,6 +1738,7 @@ static int dircache_callback(int btn, struct gui_synclist *lists)
1737 splash(HZ/2, "Rebuilding cache"); 1738 splash(HZ/2, "Rebuilding cache");
1738 dircache_suspend(); 1739 dircache_suspend();
1739 *(int *)lists->data = dircache_resume(); 1740 *(int *)lists->data = dircache_resume();
1741 /* Fallthrough */
1740 case ACTION_UNKNOWN: 1742 case ACTION_UNKNOWN:
1741 btn = ACTION_NONE; 1743 btn = ACTION_NONE;
1742 break; 1744 break;
@@ -1776,7 +1778,6 @@ static int dircache_callback(int btn, struct gui_synclist *lists)
1776 btn = ACTION_REDRAW; 1778 btn = ACTION_REDRAW;
1777 1779
1778 return btn; 1780 return btn;
1779 (void)lists;
1780} 1781}
1781 1782
1782static bool dbg_dircache_info(void) 1783static bool dbg_dircache_info(void)