forked from qt-creator/qt-creator
Add missing variable initializations.
Change-Id: Ib3573ee41915fe750c8615755ee1d4355cb0137d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -253,7 +253,7 @@ ExplainingStep ClangStaticAnalyzerLogFileReader::readPathDict()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool depthOk;
|
bool depthOk = false;
|
||||||
|
|
||||||
while (m_xml.readNextStartElement()) {
|
while (m_xml.readNextStartElement()) {
|
||||||
if (m_xml.name() == QLatin1String("key")) {
|
if (m_xml.name() == QLatin1String("key")) {
|
||||||
@@ -291,7 +291,7 @@ Location ClangStaticAnalyzerLogFileReader::readLocationDict(bool elementIsRead)
|
|||||||
int line = 0;
|
int line = 0;
|
||||||
int column = 0;
|
int column = 0;
|
||||||
int fileIndex = 0;
|
int fileIndex = 0;
|
||||||
bool lineOk, columnOk, fileIndexOk;
|
bool lineOk = false, columnOk = false, fileIndexOk = false;
|
||||||
|
|
||||||
// Collect values
|
// Collect values
|
||||||
while (m_xml.readNextStartElement()) {
|
while (m_xml.readNextStartElement()) {
|
||||||
|
Reference in New Issue
Block a user