From 1bada656a86e9cb27d4a6b9fcc50748f0bd9c1d9 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Fri, 7 Jun 2019 02:01:27 +0430 Subject: [PATCH] Minor, remove unnecessary semicolon Causing -Wextra-semi-stmt build error when no primitive has chosen Interesting that nobody has noticed it yet. --- src/hb-mutex.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-mutex.hh b/src/hb-mutex.hh index cbbfa2681..e13626731 100644 --- a/src/hb-mutex.hh +++ b/src/hb-mutex.hh @@ -106,7 +106,7 @@ typedef volatile int hb_mutex_impl_t; #define HB_MUTEX_IMPL_INIT 0 #define hb_mutex_impl_init(M) *(M) = 0 #define hb_mutex_impl_lock(M) HB_STMT_START { while (*(M)) HB_SCHED_YIELD (); (*(M))++; } HB_STMT_END -#define hb_mutex_impl_unlock(M) (*(M))--; +#define hb_mutex_impl_unlock(M) (*(M))-- #define hb_mutex_impl_finish(M) HB_STMT_START {} HB_STMT_END