You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2023/01/11 01:49:18 UTC

[GitHub] [trafficserver] ywkaras commented on a diff in pull request #9294: Don't initialize the member variables of HistoryEntry and SourceLocation

ywkaras commented on code in PR #9294:
URL: https://github.com/apache/trafficserver/pull/9294#discussion_r1066502162


##########
include/tscore/History.h:
##########
@@ -32,8 +32,8 @@
 
 struct HistoryEntry {
   SourceLocation location;
-  unsigned short event = 0;
-  short reentrancy     = 0;
+  unsigned short event;
+  short reentrancy;

Review Comment:
   I would hope Coverty would not raise an issue with this.



-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org