ui/ncurses: Fix warning from unnecessary if statement
[petitboot] / ui / ncurses / nc-menu.c
index a8337a2e6e0018a7988761e4bdcd9ca047a34b6f..87b58e2d28f3ccaefa7a62755ae96991f9fb1768 100644 (file)
@@ -204,7 +204,7 @@ static void pmenu_process_key(struct nc_scr *scr)
                if (c == ERR)
                        return;
 
                if (c == ERR)
                        return;
 
-               if (1) DBGS("%d (%o)\n", c, c);
+               DBGS("%d (%o)\n", c, c);
 
                if (menu->hot_key)
                        c = menu->hot_key(menu, item, c);
 
                if (menu->hot_key)
                        c = menu->hot_key(menu, item, c);