pkarashchenko commented on code in PR #1987:
URL: https://github.com/apache/nuttx-apps/pull/1987#discussion_r1303470534


##########
nshlib/nsh_timcmds.c:
##########
@@ -367,7 +367,7 @@ int cmd_time(FAR struct nsh_vtbl_s *vtbl, int argc, FAR 
char **argv)
 int cmd_date(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv)
 {
   FAR char *newtime = NULL;
-  FAR const char *errfmt;
+  FAR const char *errfmt unused_data;

Review Comment:
   1. But I see that it is passed to `nsh_error(vtbl, errfmt, argv[0]);`
   2. Don't we usually use `UNUSED` for such cases?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to