CppTools: Fix uninitialized values warnings

...from coverity scan.

Change-Id: I7f4c3de39279cfffab2246aa84ae2ac13916bd1e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-06-01 13:33:47 +02:00
parent 39dea09794
commit 3e203e1208
5 changed files with 13 additions and 31 deletions

View File

@@ -354,7 +354,7 @@ public:
class FindMethodDefinitionInsertPoint : protected ASTVisitor
{
QList<const Identifier *> _namespaceNames;
int _currentDepth;
int _currentDepth = 0;
HighestValue<int, unsigned> _bestToken;
public: