summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz/src/harfbuzz-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/harfbuzz/src/harfbuzz-impl.h')
-rw-r--r--src/3rdparty/harfbuzz/src/harfbuzz-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-impl.h b/src/3rdparty/harfbuzz/src/harfbuzz-impl.h
index 5f430498c4..f98594ac91 100644
--- a/src/3rdparty/harfbuzz/src/harfbuzz-impl.h
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-impl.h
@@ -59,7 +59,7 @@ HB_BEGIN_HEADER
#endif
#ifndef HB_UNUSED
-# define HB_UNUSED(arg) ((arg) = (arg))
+# define HB_UNUSED(arg) ((void)(arg))
#endif
#define HB_LIKELY(cond) (cond)