ios: Initialize members

Change-Id: I01cbbbfa9e8906768cc71d1c5b0d366d99924c7f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Robert Loehning
2017-12-13 13:00:42 +01:00
parent e393422618
commit 300041cc6e
2 changed files with 3 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ protected:
IosDevice();
IosDevice(const IosDevice &other);
Dict m_extraInfo;
bool m_ignoreDevice;
bool m_ignoreDevice = false;
mutable quint16 m_lastPort;
};

View File

@@ -153,7 +153,7 @@ struct ParserState {
QString key;
QString value;
QMap<QString,QString> info;
int progress, maxProgress;
int progress = 0, maxProgress = 0;
int gdbPort, qmlPort;
bool collectChars() {
switch (kind) {
@@ -215,7 +215,7 @@ protected:
IosToolHandler *q;
QString m_deviceId;
QString m_bundlePath;
IosToolHandler::RunKind m_runKind;
IosToolHandler::RunKind m_runKind = IosToolHandler::NormalRun;
IosDeviceType m_devType;
};