summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-06-08 18:51:53 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-06-11 20:50:04 +0000
commit50d70fd1e374d04d8c1d0d9d78b572c4650e7320 (patch)
tree58b564a341aeb3ebe7f9e7501d6337331e17d041
parent927f26c3512bbf5e17701eba6fd1de5bc7c0effa (diff)
Fix warning when compiling x86 with SSE2 but no AVX2
qstring.cpp:595:13: error: unused variable ‘nullmask’ [-Werror=unused-variable] Change-Id: I1cc7601489634e96833cfffd1456474a529a79ed Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
-rw-r--r--src/corelib/tools/qstring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index be1ca8ba95..8eadc9330d 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -594,6 +594,7 @@ static int ucstrncmp(const QChar *a, const uchar *c, int l)
}
# else
// 32-bit, we can't do MOVQ to load 8 bytes
+ Q_UNUSED(nullmask);
enum { MaxTailLength = 15 };
# endif