Revert "nshlib/nsh_timcmds.c: Suppress warning about unused variable (errfmt)"

This reverts commit 4ca9b518fa9923c1af9c120eafbac59359874e13.
This commit is contained in:
Ville Juven 2023-08-24 13:20:08 +03:00 committed by Xiang Xiao
parent 1274aa5c8a
commit 1668c3e97d

View File

@ -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 unused_data;
FAR const char *errfmt;
bool utc = false;
int option;
int ret;