summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-03-03 15:52:41 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-03-03 15:53:35 (GMT)
commitbfd0d6557dc54c0fd0270de6c138ea1031ea092c (patch)
tree159bfda93a1f61ded8470428d6922d52ab5db1d2 /src/gui/painting
parent5b97c515ea574c1ac23c8595af34de406db2536d (diff)
downloadQt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.zip
Qt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.tar.gz
Qt-bfd0d6557dc54c0fd0270de6c138ea1031ea092c.tar.bz2
Fix warnings on MSVC
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qdrawhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 891f4c2..acd286a 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -7813,7 +7813,6 @@ static void qt_blend_color_argb_armv6(int count, const QSpan *spans, void *userD
void qInitDrawhelperAsm()
{
- const uint features = qDetectCPUFeatures();
qt_memfill32 = qt_memfill_template<quint32, quint32>;
qt_memfill16 = qt_memfill_quint16; //qt_memfill_template<quint16, quint16>;
@@ -7822,6 +7821,7 @@ void qInitDrawhelperAsm()
CompositionFunctionSolid *functionForModeSolidAsm = 0;
#ifdef QT_NO_DEBUG
+ const uint features = qDetectCPUFeatures();
if (false) {
#ifdef QT_HAVE_SSE2
} else if (features & SSE2) {