vfs_fruit: remove redundant assignment
authorRalph Boehme <rb@sernet.de>
Sat, 27 Sep 2014 06:04:11 +0000 (08:04 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 30 Sep 2014 21:35:09 +0000 (23:35 +0200)
Signed-off-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/modules/vfs_fruit.c

index dd40490984724e22b8ad36974f1c6bba17f13cd5..242a6cbbc84c99a2a48cdce00e916c13209358d8 100644 (file)
@@ -817,7 +817,6 @@ static ssize_t ad_header_read_rsrc(struct adouble *ad, const char *path)
                        lp_fake_directory_create_times(
                                SNUM(ad->ad_handle->conn)));
                if (rc != 0) {
-                       rc = -1;
                        goto exit;
                }
                ad_setentrylen(ad, ADEID_RFORK, sbuf.st_ex_size);