Commit ba02ec3b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

CppTools: Initialize a local variable

Change-Id: I5cded88ce7c26a80246df79ad4ec43d82619b6eb
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 3ab5527a
......@@ -391,7 +391,7 @@ QList<IncludeGroup> IncludeGroup::detectIncludeGroupsByIncludeType(const QList<I
{
// Create sub groups
QList<IncludeGroup> result;
Client::IncludeType lastIncludeType;
Client::IncludeType lastIncludeType = Client::IncludeLocal;
QList<Include> currentIncludes;
bool isFirst = true;
foreach (const Include &include, includes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment