chore(core): address cross-platform builds

This commit is contained in:
Marc Durdin 2024-02-01 12:17:10 +07:00
parent 1b88ab99be
commit 56cda3fff4
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -9,6 +9,7 @@
#include <cassert>
#include <algorithm>
#include <sstream>
#include <string>
#include "keyman_core.h"