diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-09 19:22:36 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-12 16:19:49 +0000 |
commit | 80bdcb95de461e6709989f4834241ad553ce6c41 (patch) | |
tree | a8ec904c6814565018439b0fa2ec9f0f2ac8d399 /src/plugins/ios | |
parent | cbc5b211103961302451bd6cba1e73a1a6bedfa9 (diff) | |
download | qt-creator-80bdcb95de461e6709989f4834241ad553ce6c41.tar.gz |
Add unnecessary break to switch statements that don't fall through
GCC 7 can't tell that it's unnecessary, so it complained.
registerhandler.cpp:528:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
Change-Id: Ia3e896da908f42939148fffd14c6a15f3ec05524
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r-- | src/plugins/ios/iostoolhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp index cb04aef389..f2afa71433 100644 --- a/src/plugins/ios/iostoolhandler.cpp +++ b/src/plugins/ios/iostoolhandler.cpp @@ -624,6 +624,7 @@ void IosDeviceToolHandlerPrivate::subprocessHasData() outputParser.addData(QByteArray(buf, rRead)); processXml(); } + break; } case XmlEndProcessed: stop(0); |