a-lunev commented on a change in pull request #5296:
URL: https://github.com/apache/incubator-nuttx/pull/5296#discussion_r789640089
##########
File path: net/tcp/tcp_sendfile.c
##########
@@ -274,6 +276,8 @@ static uint16_t sendfile_eventhandler(FAR struct
net_driver_s *dev,
else if ((flags & TCP_REXMIT) != 0)
{
+ uint32_t sndlen;
Review comment:
Do you mean we should do not care about these two types of warnings?
warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has
type ‘struct tcp_conn_s *’ [-Wformat=]
warning: ISO C90 does not support the ‘z’ gnu_printf length modifier
[-Wformat=]
However, we should care only about the following warning type:
warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]
Right?
--
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]