masaori335 commented on a change in pull request #8665:
URL: https://github.com/apache/trafficserver/pull/8665#discussion_r804276827



##########
File path: proxy/http2/HTTP2.cc
##########
@@ -606,7 +606,7 @@ http2_convert_header_from_1_1_to_2(HTTPHdr *headers)
 
     // :path
     if (MIMEField *field = headers->field_find(HTTP2_VALUE_PATH, 
HTTP2_LEN_PATH); field != nullptr) {
-      int value_len;
+      int value_len     = 0;

Review comment:
       It's pretty interesting that line 589 above is almost the same situation 
but doesn't need initialization.




-- 
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]


Reply via email to