summaryrefslogtreecommitdiffstats
path: root/src/util/simple_mtx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/simple_mtx.h')
-rw-r--r--src/util/simple_mtx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/simple_mtx.h b/src/util/simple_mtx.h
index cd24b6f9eb9..cfb82ba56c1 100644
--- a/src/util/simple_mtx.h
+++ b/src/util/simple_mtx.h
@@ -61,7 +61,7 @@ typedef struct {
#define _SIMPLE_MTX_INITIALIZER_NP { 0 }
static inline void
-simple_mtx_init(simple_mtx_t *mtx, int type)
+simple_mtx_init(simple_mtx_t *mtx, MAYBE_UNUSED int type)
{
assert(type == mtx_plain);
@@ -69,7 +69,7 @@ simple_mtx_init(simple_mtx_t *mtx, int type)
}
static inline void
-simple_mtx_destroy(simple_mtx_t *mtx)
+simple_mtx_destroy(UNUSED simple_mtx_t *mtx)
{
}