There is a return path with node not set
inode/fs_inoderemove.c: In function 'inode_unlink': inode/fs_inoderemove.c:74:17: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized] FAR struct inode *node;
This commit is contained in:
parent
b758176963
commit
d9044058b5
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue