mem management: remove warning

This commit is contained in:
augustin64 2023-05-15 18:25:48 +02:00
parent 9db15e96ac
commit 4625ad2992
2 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ void gree(void* ptr, bool already_freed) {
memory = free_memory(ptr, memory, already_freed);
pthread_mutex_unlock(&memory_lock);
#else
(void)already_freed;
free(ptr);
#endif
}

View File

@ -214,6 +214,7 @@ void gree(void* ptr, bool already_freed) {
memory = free_memory(ptr, memory, already_freed);
pthread_mutex_unlock(&memory_lock);
#else
(void)already_freed;
free(ptr);
#endif
}