anjiahao1 commented on a change in pull request #5949: URL: https://github.com/apache/incubator-nuttx/pull/5949#discussion_r840536497
########## File path: libs/libc/unistd/lib_chdir.c ########## @@ -115,7 +115,7 @@ int chdir(FAR const char *path) /* Verify that 'path' refers to a directory */ ret = stat(path, &buf); - if (ret != 0) + if (ret) Review comment: ok,i use coverity scan it.coveriy suggest use ret. it does not mean `!=` is wrong 🐰 -- 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