diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2018-05-27 02:35:33 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2018-05-27 18:22:20 +0000 |
commit | dc3b5a57b6706bb13a685e5f97d2517dd87b34e3 (patch) | |
tree | 098a7d1220d798edf23bc56847a4b2903a0bba2a /config | |
parent | 2b33daa972f399b7734215ac03d8102cb68d7c1b (diff) |
Use fallthrough attributes.
Diffstat (limited to 'config')
-rw-r--r-- | config/src/apps/vespa-get-config/getconfig.cpp | 2 | ||||
-rw-r--r-- | config/src/apps/vespa-ping-configproxy/pingproxy.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/src/apps/vespa-get-config/getconfig.cpp b/config/src/apps/vespa-get-config/getconfig.cpp index 342b2b497bb..24e4623372e 100644 --- a/config/src/apps/vespa-get-config/getconfig.cpp +++ b/config/src/apps/vespa-get-config/getconfig.cpp @@ -164,7 +164,7 @@ GetConfig::Main() break; case 'h': retval = 0; - //@fallthrough@ + [[fallthrough]]; case '?': default: usage(); diff --git a/config/src/apps/vespa-ping-configproxy/pingproxy.cpp b/config/src/apps/vespa-ping-configproxy/pingproxy.cpp index 86b5a4a13ba..a88d7deb79a 100644 --- a/config/src/apps/vespa-ping-configproxy/pingproxy.cpp +++ b/config/src/apps/vespa-ping-configproxy/pingproxy.cpp @@ -99,7 +99,7 @@ PingProxy::Main() case '?': default: retval = 1; - // fallthrough + [[fallthrough]]; case 'h': usage(); return retval; |