You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/31 00:05:12 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #2629: vfs: Fix unsed label warning

Ouss4 commented on a change in pull request #2629:
URL: https://github.com/apache/incubator-nuttx/pull/2629#discussion_r550360535



##########
File path: 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_MOUNTPOINT)

Review comment:
       ```suggestion
   #if !defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
   ```
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org