bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/12] libnetfs: fix a dead store


From: Justus Winter
Subject: [PATCH 04/12] libnetfs: fix a dead store
Date: Wed, 20 Nov 2013 14:37:57 +0100

* libnetfs/fsys-getroot.c (netfs_S_fsys_getroot): Fix dead store.
---
 libnetfs/fsys-getroot.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libnetfs/fsys-getroot.c b/libnetfs/fsys-getroot.c
index 0d80111..d3dda17 100644
--- a/libnetfs/fsys-getroot.c
+++ b/libnetfs/fsys-getroot.c
@@ -84,7 +84,6 @@ netfs_S_fsys_getroot (mach_port_t cntl,
          return err;
        }
       /* ENOENT means translator has vanished inside fshelp_fetch_root. */
-      err = 0;
     }
 
   if (type == S_IFLNK && !(flags & (O_NOLINK | O_NOTRANS)))
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]