1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/libcli/raw
Noel Power 088a345f6a s4/libcli/raw: clang: Fix 'Value stored to 'p' is never read'
Fixes:

source4/libcli/raw/clisession.c:198:4: warning: Value stored to 'p' is never read <--[clang]
                        p += smbcli_req_pull_string(&req->in.bufinfo, mem_ctx, &parms->old.out.domain, p, -1, STR_TERMINATE);
                        ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source4/libcli/raw/clisession.c:212:5: warning: Value stored to 'p' is never read <--[clang]
                                p += smbcli_req_pull_string(&req->in.bufinfo, mem_ctx, &parms->nt1.out.domain, p, -1, STR_TERMINATE);
                                ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source4/libcli/raw/clisession.c:232:3: warning: Value stored to 'p' is never read <--[clang]
                p += smbcli_req_pull_string(&req->in.bufinfo, mem_ctx, &parms->spnego.out.workgroup, p, -1, STR_TERMINATE);
                ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2019-09-25 09:47:31 +00:00
..
clierror.c
clioplock.c
clisession.c s4/libcli/raw: clang: Fix 'Value stored to 'p' is never read' 2019-09-25 09:47:31 +00:00
clisocket.c s4:libcli/raw: make sure smbcli_transport_connect_send/recv correctly cleanup on error 2015-06-12 17:08:17 +02:00
clitransport.c s4:libcli/raw: don't schedule idle handlers on a dead connection 2019-03-28 23:09:32 +00:00
clitree.c s4/libcli/raw: Fix 'Value stored to 'p' is never read' 2019-07-16 22:52:24 +00:00
interfaces.h s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00
libcliraw.h s4-libcli: remove some dead prototypes 2017-05-10 15:53:20 +02:00
rawacl.c
rawdate.c
raweas.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawfile.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawfileinfo.c s4/libcli/raw: clang: Fix 'Dereference of null pointer' 2019-09-25 09:47:31 +00:00
rawfsinfo.c s4/ntvfs: support FS_SECTOR_SIZE_INFORMATION query-info 2015-03-18 18:57:21 +01:00
rawioctl.c
rawlpq.c
rawnegotiate.c s4/libcli/raw: clang: Fix 'initialization value is never read' 2019-07-16 22:52:24 +00:00
rawnotify.c
rawreadwrite.c
rawrequest.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawsearch.c s4-libcli/raw: Fix compiler errors when building with --address-sanitizer 2016-06-16 04:40:13 +02:00
rawsetfileinfo.c
rawshadow.c
rawtrans.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
README
request.h
signing.h
smb_signing.c s3:libcli: Use GnuTLS MD5 for smb singing 2019-05-21 00:03:22 +00:00
smb.h s4:libcli/raw: remove unused DEFAULT_TRUST_ACCOUNT_PASSWORD_LENGTH 2017-02-21 16:09:22 +01:00
trans2.h s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00

Design notes for client library restructure:

1 - no references to cli_state should exist in libcli/raw.
2 - all interfaces to functions in this directory should use cli_session or cli_tree as
	the primary context structure