summaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authornicm <nicm>2020-09-16 18:37:55 +0000
committernicm <nicm>2020-09-16 18:37:55 +0000
commit869c0e860fcf0851ef1751ca9187599913ca056a (patch)
tree025c03510bf75ad47830d172b7f83cfe79f1ff3a /menu.c
parent1fed7e84a3d65c8fbfbb321b84236ccab7265d46 (diff)
Fix some warnings, GitHub issue 2382.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 16374115..4fcf660a 100644
--- a/menu.c
+++ b/menu.c
@@ -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;