From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Wed, 3 May 2023 13:50:31 +0000 (-0400) Subject: Silence unused var warning X-Git-Tag: v3.4.0~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85c906f96425195f8ba8646fbb37142206399ba0;p=thirdparty%2Frsync.git Silence unused var warning recv_ida_entries still needs to be called regardless, so we cannot take that out. Let's just quiet the compiler instead. --- diff --git a/acls.c b/acls.c index 3cf12eeb..a2b0ff3e 100644 --- a/acls.c +++ b/acls.c @@ -765,6 +765,7 @@ static int recv_rsync_acl(int f, item_list *racl_list, SMB_ACL_TYPE_T type, mode /* If we received a superfluous mask, throw it away. */ duo_item->racl.mask_obj = NO_ENTRY; (void)mode; + (void)computed_mask_bits; #else if (duo_item->racl.names.count && duo_item->racl.mask_obj == NO_ENTRY) { /* Mask must be non-empty with lists. */