Fixed warning: ordered comparison of pointer with integer zero

This commit is contained in:
Sam Lantinga 2024-12-29 12:05:34 -08:00
parent d5f08b8f4b
commit 0410328b15

View file

@ -212,9 +212,7 @@ static void SDL_UntrackAllocation(void *mem)
} }
prev = entry; prev = entry;
} }
if (s_tracked_allocations < 0) {
s_unknown_frees += 1; s_unknown_frees += 1;
}
UNLOCK_ALLOCATOR(); UNLOCK_ALLOCATOR();
} }