forked from 0ad/0ad
Fixed unused argument warning.
Trying post-commit hook again: fixed #194. This was SVN commit r5885.
This commit is contained in:
parent
00cdb335c6
commit
e76a15d19d
@ -390,7 +390,7 @@ static long get_memory_alloc_count()
|
||||
static int malloc_count = 0;
|
||||
static void *(*old_malloc_hook) (size_t, const void*);
|
||||
static CMutex malloc_mutex;
|
||||
static void *malloc_hook(size_t size, const void* caller)
|
||||
static void *malloc_hook(size_t size, const void* UNUSED(caller))
|
||||
{
|
||||
// TODO: this is totally not nicely thread-safe - glibc's hook system seems to
|
||||
// not make threading easy, and I don't want to think too hard, so this is
|
||||
|
Loading…
Reference in New Issue
Block a user