wengzhe commented on code in PR #8946:
URL: https://github.com/apache/nuttx/pull/8946#discussion_r1157322549


##########
libs/libc/string/lib_strerror.c:
##########
@@ -392,5 +399,12 @@ FAR char *strerror(int errnum)
 #else
   UNUSED(errnum);
 #endif
-  return "Unknown error";
+#ifdef CONFIG_LIBC_STRERROR_ERRNUM

Review Comment:
   Found that `UNUSED(errnum);` may not be under correct condition, so slightly 
modify it.



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