summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0fdc5cc)
ui/ncurses/nc-menu.c: In function 'pmenu_process_key':
ui/ncurses/nc-menu.c:207:33: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
- 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);