1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/client
Martin Schwenke a7c3213523 source4/torture: Drop unused variable attribute
clang complains:

../../source4/client/client.c:1569:11: error: variable 'attribute' set but not used [-Werror,-Wunused-but-set-variable]
        uint16_t attribute = FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN;
                 ^

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

Commit 2f377d5101 from 2004 dropped the
use of this variable.

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

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Feb 17 19:06:25 UTC 2022 on sn-devel-184
2022-02-17 19:06:24 +00:00
..
tests testprogs: Use new kerberos options for smbclient(4) tests 2021-06-16 00:34:38 +00:00
cifsdd.c s4/cifsdd: don't ignore unknown options 2021-09-10 15:10:30 +00:00
cifsdd.h Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
cifsddio.c s4:client: Migrate cifsdd to new cmdline option parser 2021-06-16 00:34:38 +00:00
client.c source4/torture: Drop unused variable attribute 2022-02-17 19:06:24 +00:00