diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-10-05 12:52:16 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-06 09:36:39 +0200 |
commit | 29948e666583a26966ddb97faf4808099824b80d (patch) | |
tree | 39ad674ba132af6f5c13914df1780dcd9aa2484d /src/corelib/xml | |
parent | edd377245adfecae307b587d937b9873187f5ce7 (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.cpp | 1 |
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; |