From 29948e666583a26966ddb97faf4808099824b80d Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Wed, 5 Oct 2011 12:52:16 +0200 Subject: [PATCH] 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 Reviewed-by: Roberto Raggi --- src/corelib/xml/qxmlstream.cpp | 1 - 1 file changed, 1 deletion(-) 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;