From 291f122f5c5b82da98923f795b7886f5e51118cf Mon Sep 17 00:00:00 2001 From: bernhard-gatzhammer Date: Wed, 25 Nov 2015 09:22:43 +0100 Subject: [PATCH] Removed copmile time warning in spin destroy from unused parameter. EMBB-509 --- base_c/src/mutex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/base_c/src/mutex.c b/base_c/src/mutex.c index 2bd54af..7e29b43 100644 --- a/base_c/src/mutex.c +++ b/base_c/src/mutex.c @@ -164,4 +164,5 @@ int embb_spin_unlock(embb_spinlock_t* spinlock) { void embb_spin_destroy(embb_spinlock_t* spinlock) { // for now, doing nothing here... in future, will call the respective // destroy function for atomics... + EMBB_UNUSED(spinlock); } -- libgit2 0.26.0