summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorTor Arne Vestbø <torarnv@gmail.com>2013-05-10 09:46:30 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-10 12:09:41 +0200
commit5e1bdf1ee838992180427b7d3dc1283aae8a3673 (patch)
tree6ed14a26d72f1c0b85f15c78446879945958c218 /src/gui/painting
parentab345856b1abf47fbcbaf6e60184edaf66f07f31 (diff)
Fix warning about unused variable when not using any SIMD drawhelpers
Change-Id: Ic87be3b6c7afbde869bd011a3a585b0fe7dbf15d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qdrawhelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 628d12d881..2ebba967ed 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -6034,6 +6034,7 @@ void qInitDrawhelperAsm()
const uint features = qCpuFeatures();
if (false) {
+ Q_UNUSED(features);
#ifdef QT_COMPILER_SUPPORTS_AVX
} else if (features & AVX) {
qt_memfill32 = qt_memfill32_avx;