Fixed error: variable 'nfences' set but not used

This commit is contained in:
Sam Lantinga
2024-09-02 08:09:25 -07:00
parent b5700ccc02
commit 8b0798a3da

View File

@@ -4046,6 +4046,7 @@ static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) {
else
break;
}
(void)nfences;
assert(nfences >= 2);
/* Insert the rest of old top into a bin as an ordinary free chunk */