xiaoxiang781216 commented on code in PR #18764:
URL: https://github.com/apache/nuttx/pull/18764#discussion_r3118007635
##########
net/devif/ipv4_input.c:
##########
@@ -197,9 +197,9 @@ static int ipv4_check_opt(FAR struct ipv4_hdr_s *ipv4)
static int ipv4_in(FAR struct net_driver_s *dev)
{
FAR struct ipv4_hdr_s *ipv4 = IPv4BUF;
+ int ret = OK;
Review Comment:
why? the compiler is free to reorder the memoy layout.
--
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]