diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-11-08 15:33:51 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-11-08 22:08:54 +0000 |
commit | b64fc69d1c8a54ee311ea115c5c01823b0868d18 (patch) | |
tree | c0fc15cddcedf8720f717f961fd7386c6fbce774 /src/3rdparty/harfbuzz/src/harfbuzz-impl.h | |
parent | e649eac69a3220be7654ce6428185c83cd885db2 (diff) |
Fix compiler warning/error with clang 3.6
Clang warns about self assignment, so use the same mechanism as
Q_UNUSED for HB_UNUSED.
Change-Id: I0894c72fb0936074b15198053464f5bc4b8991d4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/3rdparty/harfbuzz/src/harfbuzz-impl.h')
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-impl.h | 2 |
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) |