SDL: Fixed warning: ordered comparison of pointer with integer zero

From 0410328b150fc034b7bf8e789b7b4c22a6d195a3 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 29 Dec 2024 12:05:34 -0800
Subject: [PATCH] Fixed warning: ordered comparison of pointer with integer
 zero

---
 src/test/SDL_test_memory.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c
index 594acb3d6b88a..700a790867e7b 100644
--- a/src/test/SDL_test_memory.c
+++ b/src/test/SDL_test_memory.c
@@ -212,9 +212,7 @@ static void SDL_UntrackAllocation(void *mem)
         }
         prev = entry;
     }
-    if (s_tracked_allocations < 0) {
-        s_unknown_frees += 1;
-    }
+    s_unknown_frees += 1;
     UNLOCK_ALLOCATOR();
 }