util: Drop unused variable mask_perms
commit98594d3328422a17b8d7b8639029910f21573cc5
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Feb 2022 09:27:24 +0000 (15 20:27 +1100)
committerVolker Lendecke <vl@samba.org>
Thu, 17 Feb 2022 18:12:51 +0000 (17 18:12 +0000)
tree46849566866d6a4c852d07018af3f5691f3202c9
parent32d2584c23839efc9451a3563e891170dfc59027
util: Drop unused variable mask_perms

clang complains:

../../source3/smbd/posix_acls.c:2783:9: error: variable 'mask_perms' set but not used [-Werror,-Wunused-but-set-variable]
        mode_t mask_perms = 0;
               ^

That is, the variable is initialised and updated but the value is
never used.

This potentially points to a bug in commit
f735551b9edef66b152261cf6eb2f29b7b69d65b from 2002.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/posix_acls.c