This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 1473768 vfs: Fix unsed label warning 1473768 is described below commit 1473768ffc20efe3f14d6e63fb0f5a2c4756d349 Author: Brennan Ashton <bash...@brennanashton.com> AuthorDate: Wed Dec 30 15:53:01 2020 -0800 vfs: Fix unsed label warning Signed-off-by: Brennan Ashton <bash...@brennanashton.com> --- fs/vfs/fs_unlink.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/vfs/fs_unlink.c b/fs/vfs/fs_unlink.c index 5b0b605..5efdce5 100644 --- a/fs/vfs/fs_unlink.c +++ b/fs/vfs/fs_unlink.c @@ -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);