From: Drashna Jaelre Date: Sat, 14 Dec 2019 12:00:09 +0000 (-0800) Subject: core: Fix variable init and header include (#7626) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=037467781422b8a7c021d4f17d7bcce14aec57b7;p=qmk_firmware.git core: Fix variable init and header include (#7626) tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56 --- diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index 587727393..c82c44639 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) {