summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-12-14 04:00:09 -0800
committerJoel Challis <git@zvecr.com>2019-12-14 12:00:09 +0000
commit037467781422b8a7c021d4f17d7bcce14aec57b7 (patch)
tree33de21c431aabe3c72e68726e65453862c3f3016
parent1f26101f0e5a9377a5016a0e49e46b6dae465fed (diff)
core: Fix variable init and header include (#7626)
tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56
-rw-r--r--quantum/keymap_common.c2
1 files changed, 1 insertions, 1 deletions
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) {