vfs_fruit: Avoid double ()
authorVolker Lendecke <vl@samba.org>
Tue, 16 Dec 2014 08:38:54 +0000 (09:38 +0100)
committerRalph Böhme <slow@samba.org>
Thu, 18 Dec 2014 18:19:04 +0000 (19:19 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Dec 18 19:19:04 CET 2014 on sn-devel-104

source3/modules/vfs_fruit.c

index d11e1bd17f11e3bb2ce2dc509ef8ba319b812cce..ecaddfbac43251725b2db634ca34327b86945706 100644 (file)
@@ -526,7 +526,7 @@ static bool ad_pack(struct adouble *ad)
        offset += ADEDLEN_NENTRIES;
 
        for (eid = 0, nent = 0; eid < ADEID_MAX; eid++) {
-               if ((ad->ad_eid[eid].ade_off == 0)) {
+               if (ad->ad_eid[eid].ade_off == 0) {
                        /*
                         * ade_off is also used as indicator whether a
                         * specific entry is used or not