aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iostoolhandler.cpp
diff options
context:
space:
mode:
authorRobert Loehning <[email protected]>2017-12-13 13:00:42 +0100
committerRobert Loehning <[email protected]>2017-12-13 13:35:24 +0000
commit300041cc6e5a1dd418076f39c8738373b2e06f5e (patch)
tree6308389af4b46cc5dc3e131ee3d0325af2d25d6b /src/plugins/ios/iostoolhandler.cpp
parente393422618ccf03254677a5ec1828c77ccae39d4 (diff)
ios: Initialize members
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r--src/plugins/ios/iostoolhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp
index 1e85d8fcbd4..905c8de9556 100644
--- a/src/plugins/ios/iostoolhandler.cpp
+++ b/src/plugins/ios/iostoolhandler.cpp
@@ -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;
};