Merged in david_s5/nuttx-5/david_s5/there-is-a-return-path-with-node-not-set-1486503652666 (pull request #204)

There is a return path with node not set

Approved-by: Gregory Nutt
This commit is contained in:
Gregory Nutt 2017-02-07 21:42:57 +00:00
commit cabc6cd413
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
FAR struct inode *inode_unlink(FAR const char *path)
{
struct inode_search_s desc;
FAR struct inode *node;
FAR struct inode *node = NULL;
int ret;
/* Verify parameters. Ignore null paths and relative paths */