summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-03-03 23:38:54 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-03-03 23:39:23 +0100
commit7a3fb1934d58c7213b637996b8656563d329beec (patch)
treef1d8289130cd2d7fd40c8760a0cca3f88b59a7fd /libdiskfs
parent8fb38008cc0abccdce7b8a971bf0c3f1745655b8 (diff)
Drop duplicate assignment
* libdiskfs/dir-renamed.c (checkpath): Drop duplicate np = target assignment.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-renamed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index ce8f4153..79381b2c 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -32,7 +32,6 @@ checkpath(struct node *source,
error_t err;
struct node *np;
- np = target;
for (np = target, err = 0;
/* nothing */;
/* This special lookup does a diskfs_nput on its first argument