forked from qt-creator/qt-creator
QmlJs: Initialize members
Change-Id: I15a3ec660608266595a8b7a12b59016cc28331af Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -90,11 +90,11 @@ class Rewriter : protected Visitor
|
||||
QList<Split> _possibleSplits;
|
||||
QTextDocument _resultDocument;
|
||||
SimpleFormatter _formatter;
|
||||
int _indent;
|
||||
int _nextComment;
|
||||
int _lastNewlineOffset;
|
||||
bool _hadEmptyLine;
|
||||
int _binaryExpDepth;
|
||||
int _indent = 0;
|
||||
int _nextComment = 0;
|
||||
int _lastNewlineOffset = -1;
|
||||
bool _hadEmptyLine = false;
|
||||
int _binaryExpDepth = 0;
|
||||
|
||||
public:
|
||||
Rewriter(Document::Ptr doc)
|
||||
|
||||
Reference in New Issue
Block a user