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:
764bb47
)
s3/libsmb: clang: Fix 'Value stored to 'p' is never read'
author
Noel Power
<noel.power@suse.com>
Tue, 13 Aug 2019 14:52:46 +0000
(15:52 +0100)
committer
Ralph Boehme
<slow@samba.org>
Tue, 22 Oct 2019 17:28:27 +0000
(17:28 +0000)
Fixes:
source3/libsmb/clirap.c:145:3: warning: Value stored to 'p' is never read <--[clang]
p = rdata;
^ ~~~~~
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/clirap.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clirap.c
b/source3/libsmb/clirap.c
index c0b9dcdff3957f10d1223de8f0bd27d3d9bc3d60..18348223b17ff7a6461fad79229a3827e7775994 100644
(file)
--- a/
source3/libsmb/clirap.c
+++ b/
source3/libsmb/clirap.c
@@
-144,7
+144,6
@@
bool cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation)
&rdata, &rdrcnt /* return data, return size */
)) {
cli->rap_error = rparam? SVAL(rparam,0) : -1;
- p = rdata;
if (cli->rap_error == 0) {
DEBUG(4,("NetWkstaUserLogon success\n"));