diff --git a/src/plugins/ios/iosdevice.h b/src/plugins/ios/iosdevice.h index e0b7b4024bd..32cf756fad2 100644 --- a/src/plugins/ios/iosdevice.h +++ b/src/plugins/ios/iosdevice.h @@ -78,7 +78,7 @@ protected: IosDevice(); IosDevice(const IosDevice &other); Dict m_extraInfo; - bool m_ignoreDevice; + bool m_ignoreDevice = false; mutable quint16 m_lastPort; }; 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 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; };