zizhong commented on a change in pull request #7100:
URL: https://github.com/apache/trafficserver/pull/7100#discussion_r469569184
##########
File path: proxy/http/HttpTransactCache.cc
##########
@@ -1309,7 +1309,7 @@
HttpTransactCache::match_response_to_request_conditionals(HTTPHdr *request, HTTP
// If-Match: must match strongly //
if (request->presence(MIME_PRESENCE_IF_MATCH)) {
- int raw_etags_len, comma_sep_tag_list_len;
+ int raw_etags_len, comma_sep_tag_list_len = 0;
Review comment:
I agreed on what @maskit suggested.
1. Let's separate the declarations one per line.
2. and initialize each of them.
That way is much clearer than the current code.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]