You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/30 18:50:06 UTC

[GitHub] [nuttx] anchao opened a new pull request, #7741: net/ipv4: fix shadows declaration

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 <an...@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-unsubscribe@nuttx.apache.org

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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #7741: net/ipv4: fix shadows declaration

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7741:
URL: https://github.com/apache/nuttx/pull/7741


-- 
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-unsubscribe@nuttx.apache.org

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