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();
IosDevice(const IosDevice &other); IosDevice(const IosDevice &other);
Dict m_extraInfo; Dict m_extraInfo;
bool m_ignoreDevice; bool m_ignoreDevice = false;
mutable quint16 m_lastPort; mutable quint16 m_lastPort;
}; };

View File

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