1
0
Эх сурвалжийг харах

SDL_malloc.c: fix variable 'used' set but not used

Emitted by clang-cl
Anonymous Maarten 4 жил өмнө
parent
commit
b51a88a95c

+ 2 - 0
src/stdlib/SDL_malloc.c

@@ -3017,6 +3017,8 @@ internal_malloc_stats(mstate m)
                 (unsigned long) (maxfp));
         fprintf(stderr, "system bytes     = %10lu\n", (unsigned long) (fp));
         fprintf(stderr, "in use bytes     = %10lu\n", (unsigned long) (used));
+#else
+        (void)used;
 #endif
 
         POSTACTION(m);