From 9b3019e8a0faca75a4348f935c66f6cd2a931580 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 11 Oct 2021 16:01:28 -0400 Subject: [PATCH] vial: ensure build fails if combos/tapdance redefined in keymap --- quantum/vial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quantum/vial.c b/quantum/vial.c index 23968e0093..0e4d4c1b6b 100644 --- a/quantum/vial.c +++ b/quantum/vial.c @@ -475,7 +475,7 @@ static void on_dance_reset(qk_tap_dance_state_t *state, void *user_data) { } } -qk_tap_dance_action_t tap_dance_actions[VIAL_TAP_DANCE_ENTRIES]; +qk_tap_dance_action_t tap_dance_actions[VIAL_TAP_DANCE_ENTRIES] = { }; /* Load timings from eeprom into custom_tapping_term */ static void reload_tap_dance(void) { @@ -493,7 +493,7 @@ static void reload_tap_dance(void) { #endif #ifdef VIAL_COMBO_ENABLE -combo_t key_combos[VIAL_COMBO_ENTRIES]; +combo_t key_combos[VIAL_COMBO_ENTRIES] = { }; uint16_t key_combos_keys[VIAL_COMBO_ENTRIES][5]; static void reload_combo(void) {