xiaoxiang781216 commented on a change in pull request #5296:
URL: https://github.com/apache/incubator-nuttx/pull/5296#discussion_r789663023
##########
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:
Yes, you are right. The last issue will become error in the old
compiler. But, the first two aren't.
##########
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:
Yes, you are right. The last issue will become an error in the old
compiler. But, the first two aren't.
--
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]