anchao opened a new pull request, #7741:
URL: https://github.com/apache/nuttx/pull/7741

   
   ## Summary
   
   net/ipv4: fix shadows declaration
   
   ```
   devif/ipv4_input.c: In function ‘ipv4_in’:
   devif/ipv4_input.c:305:15: warning: declaration of ‘ret’ shadows a previous 
local [-Wshadow]
     305 |           int ret = ipv4_forward(dev, ipv4);
         |               ^~~
   devif/ipv4_input.c:151:7: note: shadowed declaration is here
     151 |   int ret = OK;
         |       ^~~
   
   ```
   Signed-off-by: chao an <anc...@xiaomi.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


-- 
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: commits-unsubscr...@nuttx.apache.org

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

Reply via email to