summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-05 12:52:16 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-06 09:36:39 +0200
commit29948e666583a26966ddb97faf4808099824b80d (patch)
tree39ad674ba132af6f5c13914df1780dcd9aa2484d /src/corelib/xml
parentedd377245adfecae307b587d937b9873187f5ce7 (diff)
Remove redundant assignment in QXmlStreamReader
Setting tos to 0 once should be enough for everyone. Task-number: QTBUG-20482 Change-Id: I7aa46ff5d4ed8064e3fb2cebc3dfcaa4e73741f8 Reviewed-on: http://codereview.qt-project.org/6053 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/corelib/xml')
-rw-r--r--src/corelib/xml/qxmlstream.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/xml/qxmlstream.cpp b/src/corelib/xml/qxmlstream.cpp
index 19626af1cf..bf37902950 100644
--- a/src/corelib/xml/qxmlstream.cpp
+++ b/src/corelib/xml/qxmlstream.cpp
@@ -808,7 +808,6 @@ QXmlStreamReaderPrivate::QXmlStreamReaderPrivate(QXmlStreamReader *q)
void QXmlStreamReaderPrivate::init()
{
- tos = 0;
scanDtd = false;
token = -1;
token_char = 0;