summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltang <etang2099@gmail.com>2016-04-02 09:29:32 -0700
committereltang <etang2099@gmail.com>2016-04-02 09:29:32 -0700
commitda101b886689b3d2a8e4246ed20dee5f066bb1a1 (patch)
treeccd167db6c5a98a2bf5fb21209743d4f62825f29
parentfddccc95fe480a2ed039ffdac6aa9f3fac1f444f (diff)
Update action.c
-rw-r--r--tmk_core/common/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index a3c5b4c5a9..ae4e5545cf 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -55,7 +55,7 @@ void action_exec(keyevent_t event)
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
bool disable_action_cache = false;
-uint8_t source_layers_cache[5][((MATRIX_ROWS * MATRIX_COLS) / 8) ? ((MATRIX_ROWS * MATRIX_COLS) / 8) : 1];
+uint8_t source_layers_cache[5][((MATRIX_ROWS * MATRIX_COLS) / 8) ? ((MATRIX_ROWS * MATRIX_COLS) / 8) : 1] = {};
void process_action_nocache(keyrecord_t *record)
{