This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 2aabb81b7e CID 1518601: dead code in test_log_interface.cc (#10507)
2aabb81b7e is described below
commit 2aabb81b7e491882d2cb4e3ef99a6d173b48f332
Author: Brian Neradt <[email protected]>
AuthorDate: Mon Sep 25 10:34:16 2023 -0500
CID 1518601: dead code in test_log_interface.cc (#10507)
Fix a coverity warning about unreachable code in test_log_interface.cc.
---
tests/tools/plugins/test_log_interface.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/tools/plugins/test_log_interface.cc
b/tests/tools/plugins/test_log_interface.cc
index 66b89c746f..1a8dc7807a 100644
--- a/tests/tools/plugins/test_log_interface.cc
+++ b/tests/tools/plugins/test_log_interface.cc
@@ -64,11 +64,11 @@ global_handler(TSCont continuation, TSEvent event, void
*data)
return 0;
default:
- return 0;
+ TSError("[%s] global_handler: unexpected event: %d\n", plugin_name, event);
+ break;
}
TSHttpSsnReenable(session, TS_EVENT_HTTP_CONTINUE);
-
return 0;
}