Fix some warnings, GitHub issue 2382.

This commit is contained in:
nicm
2020-09-16 18:37:55 +00:00
parent 1fed7e84a3
commit 869c0e860f
5 changed files with 10 additions and 30 deletions

2
menu.c
View File

@ -187,7 +187,7 @@ menu_key_cb(struct client *c, struct key_event *event)
struct mouse_event *m = &event->m;
u_int i;
int count = menu->count, old = md->choice;
const char *name;
const char *name = NULL;
const struct menu_item *item;
struct cmdq_state *state;
enum cmd_parse_status status;