summaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-12-14 04:00:09 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-01-09 08:57:11 +0900
commit6a7b6815de398553be79d35a3a808e4781596d6b (patch)
treea9cc3d3dea76c0c82435400932691837915c6941 /quantum/keymap_common.c
parentd0e06f0385489dfa46a162e061575cd093fc7620 (diff)
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.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) {