diff options
author | Drashna Jaelre <drashna@live.com> | 2019-12-14 04:00:09 -0800 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-12-14 12:00:09 +0000 |
commit | 037467781422b8a7c021d4f17d7bcce14aec57b7 (patch) | |
tree | 33de21c431aabe3c72e68726e65453862c3f3016 /quantum/keymap_common.c | |
parent | 1f26101f0e5a9377a5016a0e49e46b6dae465fed (diff) | |
download | qmk_firmware-037467781422b8a7c021d4f17d7bcce14aec57b7.tar.gz qmk_firmware-037467781422b8a7c021d4f17d7bcce14aec57b7.zip |
core: Fix variable init and header include (#7626)
tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r-- | quantum/keymap_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
48 | // keycode remapping | 48 | // keycode remapping |
49 | keycode = keycode_config(keycode); | 49 | keycode = keycode_config(keycode); |
50 | 50 | ||
51 | action_t action; | 51 | action_t action = {}; |
52 | uint8_t action_layer, when, mod; | 52 | uint8_t action_layer, when, mod; |
53 | 53 | ||
54 | switch (keycode) { | 54 | switch (keycode) { |