zwoop commented on issue #7151:
URL: https://github.com/apache/trafficserver/issues/7151#issuecomment-687896158


   This one looks outright wrong, as in, the compiler is wrong:
   
   ```
   ink_hrtime.cc: In function 'int64_to_str':
   ink_hrtime.cc:146:10: warning: function may return address of local variable 
[-Wreturn-local-addr]
     146 |   return out_buf;
   ```
   
   out_buf is set to point to "buf", or nullptr, so our code is definitely 
correct. Not sure how we can make sure your compiler ignores this... 
@SolidWallOfCode Got any ideas ?


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


Reply via email to