1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/libcli
Noel Power f755de5413 s4/libcli/clideltree.c: clang: Value stored to 'status' is never read
Fixes:

source4/libcli/clideltree.c:113:3: warning: Value stored to 'status' is never read <--[clang]

status = smbcli_setatr(tree, dname, FILE_ATTRIBUTE_NORMAL, 0);
                ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source4/libcli/clideltree.c:131:3: warning: Value stored to 'status' is never read <--[clang]
                status = smbcli_setatr(dstate.tree, dname, FILE_ATTRIBUTE_NORMAL, 0);
                ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2019-09-25 09:47:31 +00:00
..
composite s4:libcli/composite: correctly finish composite smb and smb2 requests 2014-09-19 09:15:10 +02:00
dgram libdgram: Fix an error path memleak 2018-04-13 21:04:28 +02:00
ldap s4/libcli/ldab: clang: Fix 'Access results in a deref of a null pointer' 2019-07-16 22:52:24 +00:00
rap
raw s4/libcli/raw: clang: Fix 'Value stored to 'p' is never read' 2019-09-25 09:47:31 +00:00
resolve source4: Update all consumers of strtoul_err(), strtoull_err() to new API 2019-06-30 11:32:18 +00:00
security/tests s4:libcli/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
smb2 s4/libcli/smb2: clang: Fix 'value stored to 'status' is never read' 2019-09-25 09:47:31 +00:00
smb_composite s4/libcli: clang: Fix 'initialization value is never read' 2019-07-16 22:52:24 +00:00
smbc
util libcli: Simplify smblsa_lookup_name 2019-01-08 03:40:27 +01:00
wbclient wbclient: "ev" is no longer used in wbc_xids_to_sids 2016-09-28 00:04:36 +02:00
wrepl
cliconnect.c s4:libcli: fix 'Conditional jump or move' valgrind error 2016-04-25 10:35:15 +02:00
clideltree.c s4/libcli/clideltree.c: clang: Value stored to 'status' is never read 2019-09-25 09:47:31 +00:00
clifile.c
clilist.c s4:libcli fix compiler warnings 2013-12-12 14:21:28 -08:00
climessage.c
clireadwrite.c
clitrans2.c
finddc.h
finddcs_cldap.c s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used 2015-05-20 19:29:30 +02:00
libcli.h
wscript_build s4:libcli: Remove (now unused) pysmb.c bindings 2019-01-26 04:05:25 +01:00