vfs: Fix unsed label warning
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
parent
3386941a10
commit
1473768ffc
|
@ -191,11 +191,14 @@ int nx_unlink(FAR const char *pathname)
|
|||
RELEASE_SEARCH(&desc);
|
||||
return OK;
|
||||
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
errout_with_sem:
|
||||
inode_semgive();
|
||||
|
||||
#endif
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
|
||||
errout_with_inode:
|
||||
inode_release(inode);
|
||||
#endif
|
||||
|
||||
errout_with_search:
|
||||
RELEASE_SEARCH(&desc);
|
||||
|
|
Loading…
Reference in New Issue