diff --git a/core/src/actions_normalize.cpp b/core/src/actions_normalize.cpp index 8ed810b2d0..4402d4df8a 100644 --- a/core/src/actions_normalize.cpp +++ b/core/src/actions_normalize.cpp @@ -40,10 +40,9 @@ bool km::core::actions_normalize( /* in, out */ km::core::context *app_context, /* in, out */ km_core_actions &actions ) { - assert(actions != nullptr); assert(cached_context != nullptr); assert(app_context != nullptr); - if(actions == nullptr || cached_context == nullptr || app_context == nullptr) { + if(cached_context == nullptr || app_context == nullptr) { return false; } diff --git a/core/src/km_core_action_api.cpp b/core/src/km_core_action_api.cpp index ec65ae678e..93da21ebdc 100644 --- a/core/src/km_core_action_api.cpp +++ b/core/src/km_core_action_api.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "keyman_core.h"