Skip to content

Commit

Permalink
remove wrong assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
daanx committed Oct 30, 2024
1 parent 3064023 commit b5ae6fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit b5ae6fc

Please sign in to comment.