vulkan: add vk_x11_strict_image_count option
[mesa.git] / src / util / simple_mtx.h
index cd24b6f9eb970c97bb4da5caf86c994eaaddc86a..94ab6fcef1ff469a340a5bb36c4e24c1f41aeaba 100644 (file)
@@ -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, ASSERTED 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)
 {
 }