From 56cda3fff4c4e0fb1ca6816ee98af6f8681ea358 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Thu, 1 Feb 2024 12:17:10 +0700 Subject: [PATCH] chore(core): address cross-platform builds --- core/src/actions_normalize.cpp | 3 +-- core/src/km_core_action_api.cpp | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) 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"