From 6a7b6815de398553be79d35a3a808e4781596d6b Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 14 Dec 2019 04:00:09 -0800 Subject: core: Fix variable init and header include (#7626) tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56 --- quantum/keymap_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index 5877273931..c82c446399 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -48,7 +48,7 @@ action_t action_for_key(uint8_t layer, keypos_t key) { // keycode remapping keycode = keycode_config(keycode); - action_t action; + action_t action = {}; uint8_t action_layer, when, mod; switch (keycode) { -- cgit v1.2.3