Skip to content
Snippets Groups Projects
Commit 9232da4a authored by Gregory Nutt's avatar Gregory Nutt
Browse files

fs/vfs: Remove warning generated by fcntl()

parent 9ea215f2
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@
#if CONFIG_NFILE_DESCRIPTORS > 0
int file_vfcntl(FAR struct file *filep, int cmd, va_list ap)
{
int ret;
int ret = -EINVAL;
/* Was this file opened ? */
......@@ -205,7 +205,6 @@ int file_vfcntl(FAR struct file *filep, int cmd, va_list ap)
break;
default:
ret = -EINVAL;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment