Explorar o código

Fixed compiler warning

Sam Lantinga %!s(int64=8) %!d(string=hai) anos
pai
achega
21cd2df694
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     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: */
 /* vi: set ts=4 sw=4 expandtab: */