diff --git a/core/src/km_core_state_api.cpp b/core/src/km_core_state_api.cpp index 6fa30057fa..dbd49f7bcb 100644 --- a/core/src/km_core_state_api.cpp +++ b/core/src/km_core_state_api.cpp @@ -378,7 +378,7 @@ state_should_invalidate_context(km_core_state *state, km_core_virtual_key vk, uint16_t modifier_state, uint8_t is_key_down, - uint16_t event_flags) { + uint16_t _kmn_unused(event_flags)) { // if emit_keystroke is present, check if a context reset is needed if (state_has_action_type(state, KM_CORE_IT_EMIT_KEYSTROKE)) { if (vk == KM_CORE_VKEY_BKSP && state->context().empty()) {