1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/libcli
Martin Schwenke 32d2584c23 util: Drop unused variable num_received
clang complains:

../../source4/libcli/clilist.c:111:6: error: variable 'num_received' set but not used [-Werror,-Wunused-but-set-variable]
        int num_received = 0;
            ^
../../source4/libcli/clilist.c:268:6: error: variable 'num_received' set but not used [-Werror,-Wunused-but-set-variable]
        int num_received = 0;
            ^

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
2022-02-17 18:12:51 +00:00
..
composite s4-libcli: Remove unused header from composite/composite.c 2019-11-10 22:27:47 +00:00
dgram lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
ldap auth:creds: Add obtained arg to cli_credentials_set_gensec_features() 2021-04-28 03:43:34 +00:00
rap s4-libcli/rap: Set the switch_value before NDR_BUFFERS to prepare for new libndr behaviour 2019-12-12 02:30:40 +00:00
raw libcli/smb: pass smb3_capabilities to smbXcli_conn_create() 2021-03-17 00:49:32 +00:00
resolve lib: addns: Fix ads_dns_lookup_srv() and functions to return size_t * num servers. 2020-09-15 10:09:37 +00:00
smb2 libcli/smb: pass smb3_capabilities to smbXcli_conn_create() 2021-03-17 00:49:32 +00:00
smb_composite CVE-2016-2124: s4:libcli/sesssetup: don't fallback to non spnego authentication if we require kerberos 2021-11-09 19:45:34 +00:00
util Add SMB2 lsa helper routines 2020-04-28 18:09:39 +00:00
wbclient
wrepl
cliconnect.c
clideltree.c s4: libcli: In smbcli_deltree() use smbcli_unlink_wcard() in place of smbcli_unlink(). 2021-12-09 18:06:35 +00:00
clifile.c s4: libcli: smbcli_unlink() is no longer used with wildcard patterns. 2021-12-09 18:06:35 +00:00
clilist.c util: Drop unused variable num_received 2022-02-17 18:12:51 +00:00
climessage.c
clireadwrite.c source4/libcli/clireadwrite.c: typo fixes 2019-10-31 00:43:37 +00:00
clitrans2.c
finddc.h
finddcs_cldap.c
libcli.h s4: libcli: Add smbcli_unlink_wcard(). 2021-12-09 18:06:35 +00:00
wscript_build s4:libcli: Remove (now unused) pysmb.c bindings 2019-01-26 04:05:25 +01:00