Skip to content

Commit

Permalink
core: Fix variable init and header include (qmk#7626)
Browse files Browse the repository at this point in the history
tmk backport from tmk/tmk_keyboard@325a99a
  • Loading branch information
drashna authored and zvecr committed Dec 14, 2019
1 parent 1f26101 commit 0374677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/keymap_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0374677

Please sign in to comment.