From b5ae6fc555749e141d066987307d261f4d31a03a Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 29 Oct 2024 20:08:36 -0700 Subject: [PATCH] remove wrong assertion --- src/options.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/options.c b/src/options.c index 76d2cf82..cc39dd6d 100644 --- a/src/options.c +++ b/src/options.c @@ -196,7 +196,6 @@ mi_decl_nodiscard long mi_option_get_clamp(mi_option_t option, long min, long ma } mi_decl_nodiscard size_t mi_option_get_size(mi_option_t option) { - mi_assert_internal(mi_option_has_size_in_kib(option)); const long x = mi_option_get(option); size_t size = (x < 0 ? 0 : (size_t)x); if (mi_option_has_size_in_kib(option)) {