From 85b68a42af541bc91f2851389ac09b012a6d3aa1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 May 2019 12:59:01 -0400 Subject: [PATCH] [atomic] Fix warnings https://bugzilla.mozilla.org/show_bug.cgi?id=1554306 --- src/hb-atomic.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-atomic.hh b/src/hb-atomic.hh index a82ce6cf3..e58ec7570 100644 --- a/src/hb-atomic.hh +++ b/src/hb-atomic.hh @@ -216,7 +216,7 @@ static_assert ((sizeof (long) == sizeof (void *)), ""); #define HB_ATOMIC_INT_NIL 1 /* Warn that fallback implementation is in use. */ -#define _hb_memory_barrier() +#define _hb_memory_barrier() do {} while (0) #define hb_atomic_int_impl_add(AI, V) ((*(AI) += (V)) - (V))