From 41badf33d9fe700790607c251cad9f5dc5d50ba5 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sat, 9 Aug 2025 08:35:32 +0300 Subject: [PATCH] Hopefully shut the compiler up on ubuntu Signed-off-by: Slendi --- src/dcfg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dcfg.c b/src/dcfg.c index a157cf9..b38929c 100644 --- a/src/dcfg.c +++ b/src/dcfg.c @@ -61,12 +61,12 @@ typedef struct { # define PTHREAD_MUTEX_RECURSIVE_NP 0 # endif -static void pthread_mutex_init(pthread_mutex_t *m, void *data) { } -static void pthread_mutex_destroy(pthread_mutex_t *m) { } -static void pthread_mutex_lock(pthread_mutex_t *m) { } -static void pthread_mutex_unlock(pthread_mutex_t *m) { } +static void pthread_mutex_init(pthread_mutex_t *m, void *data) { (void)m; (void)data; } +static void pthread_mutex_destroy(pthread_mutex_t *m) { (void)m; } +static void pthread_mutex_lock(pthread_mutex_t *m) { (void)m; } +static void pthread_mutex_unlock(pthread_mutex_t *m) { (void)m; } void pthread_mutexattr_init(pthread_mutexattr_t *attr); -static void pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) { } +static void pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) { (void)attr; (void)type; } #endif #include