Browse Source

Fixed compiler warning

Sam Lantinga 7 years ago
parent
commit
21cd2df694
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stdlib/SDL_malloc.c

+ 1 - 1
src/stdlib/SDL_malloc.c

@@ -5370,7 +5370,7 @@ void SDL_free(void *ptr)
     }
 
     s_mem.free_func(ptr);
-    SDL_AtomicDecRef(&s_mem.num_allocations);
+    (void)SDL_AtomicDecRef(&s_mem.num_allocations);
 }
 
 /* vi: set ts=4 sw=4 expandtab: */