JosiahWI commented on code in PR #13686:
URL: https://github.com/apache/trafficserver/pull/13686#discussion_r4016420747
##########
src/api/InkAPITest.cc:
##########
@@ -946,7 +946,7 @@ synserver_vc_accept(TSCont contp, TSEvent event, void *data)
TSAssert(s->magic == MAGIC_ALIVE);
if (event == TS_EVENT_NET_ACCEPT_FAILED) {
- if (s && s->accept_port != SYNSERVER_DUMMY_PORT) {
+ if (s->accept_port != SYNSERVER_DUMMY_PORT) {
Review Comment:
Correct. We can assume `s` is not `nullptr` because of the magic value
assertion on line 946.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]