From 821f89af338ee9ca9aaa01a44f192f4390edb110 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 2 May 2013 08:34:06 +0200 Subject: Remove 'unused variable' warning. --- hugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hugin.c b/hugin.c index 245a27d..a24a929 100644 --- a/hugin.c +++ b/hugin.c @@ -97,10 +97,10 @@ void mutex_unlock(mutex_t *mutex) #define MUTEX_INIT_VALUE 0 typedef int mutex_t; -void mutex_init(mutex_t *mutex) {} -void mutex_close(mutex_t *mutex) {} -void mutex_lock(mutex_t *mutex) {} -void mutex_unlock(mutex_t *mutex) {} +void mutex_init(mutex_t *mutex) { (void)mutex; } +void mutex_close(mutex_t *mutex) { (void)mutex; } +void mutex_lock(mutex_t *mutex) { (void)mutex; } +void mutex_unlock(mutex_t *mutex) { (void)mutex; } #endif/*WITH_HUG_MUTEX*/ -- cgit v1.2.3