git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9041b
)
s3/libsmb: clang: Fix 'Value stored to 'p' is never read'
author
Noel Power
<noel.power@suse.com>
Tue, 13 Aug 2019 14:18:10 +0000
(15:18 +0100)
committer
Ralph Boehme
<slow@samba.org>
Tue, 22 Oct 2019 17:28:27 +0000
(17:28 +0000)
Fixes:
source3/libsmb/climessage.c:73:2: warning: Value stored to 'p' is never read <--[clang]
p += hlen;
^ ~~~~
1 warning generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/climessage.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/climessage.c
b/source3/libsmb/climessage.c
index 5db010241838074e6290feabc06fc63dcbf0b6b6..fd21681ec72538b8cc952b7e20377c8aee46d4e6 100644
(file)
--- a/
source3/libsmb/climessage.c
+++ b/
source3/libsmb/climessage.c
@@
-70,7
+70,6
@@
static struct tevent_req *cli_message_start_send(TALLOC_CTX *mem_ctx,
p += ulen;
*p++ = 4;
memcpy(p, htmp, hlen);
- p += hlen;
TALLOC_FREE(htmp);
TALLOC_FREE(utmp);