summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstring.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-11-12 09:25:49 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-11-20 11:09:21 +0000
commite4e10fa2d54f1dad568d842154852e54c1f87946 (patch)
tree033ae633752ac0e067e1b7ea9d7802c5b1bbc8d6 /src/corelib/tools/qstring.cpp
parent5ff7a3d96e0ce0dcb3d388b53d038cdd40c7a975 (diff)
QString::vasprintf: remove egcs-2.91.66 workaround
We don't support that compiler anymore. Change-Id: I6d100a2d149ce4e506c7f8be3b56a33fa9d7092f Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
-rw-r--r--src/corelib/tools/qstring.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index 7e8eb5e317..e34e2e7612 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -6186,8 +6186,7 @@ QString QString::vasprintf(const char *cformat, va_list ap)
}
case lm_ll: {
qint64 *n = va_arg(ap, qint64*);
- volatile uint tmp = result.length(); // egcs-2.91.66 gets internal
- *n = tmp; // compiler error without volatile
+ *n = result.length();
break;
}
default: {