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/10/26 10:17:16 UTC

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on pull request #1386: Fix Error: ftpd.c:1773:9: error: variable 'pos' set but not used [-Werror,-Wunused-but-set-variable]

pkarashchenko commented on PR #1386:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1386#issuecomment-1291812548

   @xiaoxiang781216 seems it is not always unused, or the analyser tool reports wrongly
   ```
   2022-10-26T05:52:17.9833033Z ftpd.c: In function 'ftpd_stream':
   2022-10-26T05:52:17.9863517Z ##[error]ftpd.c:1902:7: error: 'pos' undeclared (first use in this function)
   2022-10-26T05:52:17.9874208Z  1902 |       pos += (off_t)seekoffs;
   2022-10-26T05:52:17.9874489Z       |       ^~~
   ```


-- 
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