diff options
author | Thiago Macieira <[email protected]> | 2017-06-09 19:22:36 -0700 |
---|---|---|
committer | Thiago Macieira <[email protected]> | 2017-06-12 16:19:49 +0000 |
commit | 80bdcb95de461e6709989f4834241ad553ce6c41 (patch) | |
tree | a8ec904c6814565018439b0fa2ec9f0f2ac8d399 /src/plugins/ios/iostoolhandler.cpp | |
parent | cbc5b211103961302451bd6cba1e73a1a6bedfa9 (diff) |
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 <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-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 cb04aef389f..f2afa714337 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); |