From e76a15d19da398d0c7bd32adc8af8e01334663c3 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 15 Apr 2008 13:49:08 +0000 Subject: [PATCH] Fixed unused argument warning. Trying post-commit hook again: fixed #194. This was SVN commit r5885. --- source/ps/Profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/Profile.cpp b/source/ps/Profile.cpp index 703d7e6ac3..9391713a9c 100644 --- a/source/ps/Profile.cpp +++ b/source/ps/Profile.cpp @@ -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