summaryrefslogtreecommitdiff
path: root/clients/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/keyboard.c')
-rw-r--r--clients/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/keyboard.c b/clients/keyboard.c
index cd1ad586..7c11cec5 100644
--- a/clients/keyboard.c
+++ b/clients/keyboard.c
@@ -530,7 +530,7 @@ append(char *s1, const char *s2)
static void
keyboard_handle_key(struct keyboard *keyboard, uint32_t time, const struct key *key, struct input *input, enum wl_pointer_button_state state)
{
- const char *label;
+ const char *label = NULL;
switch(keyboard->state) {
case KEYBOARD_STATE_DEFAULT :