mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
Elminate some warnings on tiny systems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3719 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -455,7 +455,6 @@ static inline int dd_outfopen(const char *name, struct dd_s *dd)
|
||||
DD_OUTFD = open(name, O_WRONLY|O_CREAT|O_TRUNC, 0644);
|
||||
if (DD_OUTFD < 0)
|
||||
{
|
||||
FAR struct nsh_vtbl_s *vtbl = dd->vtbl;
|
||||
nsh_output(dd->vtbl, g_fmtcmdfailed, g_dd, "open", NSH_ERRNO);
|
||||
return ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user