From: Volker Lendecke Date: Tue, 16 Dec 2014 08:38:54 +0000 (+0100) Subject: vfs_fruit: Avoid double () X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=93b3c157b7538e4610361e3d5491e5f762407b6f vfs_fruit: Avoid double () Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Thu Dec 18 19:19:04 CET 2014 on sn-devel-104 --- diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index d11e1bd17f1..ecaddfbac43 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -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