Fix msvc build

This commit is contained in:
mio
2021-10-04 10:44:30 +02:00
parent df5daed522
commit ebb468d042
2 changed files with 9 additions and 14 deletions

View File

@ -454,12 +454,11 @@ void tcg_region_reset_all(TCGContext *tcg_ctx)
#ifndef NDEBUG
bool err = tcg_region_initial_alloc__locked(tcg_ctx);
g_assert(!err);
#else
tcg_region_initial_alloc__locked(tcg_ctx);
#endif
g_assert(!err);
tcg_region_tree_reset_all(tcg_ctx);
}