This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 5d1267e8b8e47897fccb5f1e847e91fb0931ccda Author: Bryan Call <[email protected]> AuthorDate: Wed Aug 16 15:25:07 2017 -0700 Added fallthrough comments for Fedora 26 and gcc7 for plugins and API --- example/cache-scan/cache-scan.cc | 1 + example/null-transform/null-transform.c | 1 + plugins/experimental/ts_lua/ts_lua_http_intercept.c | 1 + proxy/InkAPI.cc | 1 + 4 files changed, 4 insertions(+) diff --git a/example/cache-scan/cache-scan.cc b/example/cache-scan/cache-scan.cc index 63da032..ff89880 100644 --- a/example/cache-scan/cache-scan.cc +++ b/example/cache-scan/cache-scan.cc @@ -290,6 +290,7 @@ handle_io(TSCont contp, TSEvent event, void * /* edata ATS_UNUSED */) } case TS_EVENT_VCONN_WRITE_COMPLETE: TSDebug("cache_iter", "write complete"); + // fallthrough case TS_EVENT_VCONN_EOS: default: cstate->done = 1; diff --git a/example/null-transform/null-transform.c b/example/null-transform/null-transform.c index e3d6928..c59d536 100644 --- a/example/null-transform/null-transform.c +++ b/example/null-transform/null-transform.c @@ -232,6 +232,7 @@ null_transform(TSCont contp, TSEvent event, void *edata ATS_UNUSED) break; case TS_EVENT_VCONN_WRITE_READY: TSDebug("null-transform", "\tEvent is TS_EVENT_VCONN_WRITE_READY"); + // fallthrough default: TSDebug("null-transform", "\t(event is %d)", event); /* If we get a WRITE_READY event or any other type of diff --git a/plugins/experimental/ts_lua/ts_lua_http_intercept.c b/plugins/experimental/ts_lua/ts_lua_http_intercept.c index 15a24d5..48d7816 100644 --- a/plugins/experimental/ts_lua/ts_lua_http_intercept.c +++ b/plugins/experimental/ts_lua/ts_lua_http_intercept.c @@ -291,6 +291,7 @@ ts_lua_http_intercept_process_read(TSEvent event, ts_lua_http_intercept_ctx *ict switch (event) { case TS_EVENT_VCONN_READ_READY: TSVConnShutdown(ictx->net_vc, 1, 0); + // fallthrough case TS_EVENT_VCONN_READ_COMPLETE: case TS_EVENT_VCONN_EOS: diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc index 54f64bb..c2ad922 100644 --- a/proxy/InkAPI.cc +++ b/proxy/InkAPI.cc @@ -8357,6 +8357,7 @@ TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char if (value && length > 0) { s->t_state.txn_conf->client_cert_filepath = const_cast<char *>(value); } + // fallthrough default: return TS_ERROR; break; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
