mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
vfs: Fix unsed label warning
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
committed by
Xiang Xiao
parent
0a7d86f587
commit
ca0fb5694f
+4
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user