vfs: Fix unsed label warning

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
Brennan Ashton 2020-12-30 15:53:01 -08:00 committed by Xiang Xiao
parent 3386941a10
commit 1473768ffc

View File

@ -191,11 +191,14 @@ int nx_unlink(FAR const char *pathname)
RELEASE_SEARCH(&desc); RELEASE_SEARCH(&desc);
return OK; return OK;
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
errout_with_sem: errout_with_sem:
inode_semgive(); inode_semgive();
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
errout_with_inode: errout_with_inode:
inode_release(inode); inode_release(inode);
#endif
errout_with_search: errout_with_search:
RELEASE_SEARCH(&desc); RELEASE_SEARCH(&desc);