diff options
author | Noel Power <noel.power@suse.com> | 2019-08-13 15:52:46 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-10-22 17:28:27 +0000 |
commit | 61621009980a4c4a8b64bde8e03370152df0cdce (patch) | |
tree | 09e418821212df62b190efafb41e169ed2e68782 /source3/libsmb | |
parent | 764bb47a370c6a5d5d73b8855d141c2d4cbd6f58 (diff) | |
download | samba-61621009980a4c4a8b64bde8e03370152df0cdce.tar.gz |
s3/libsmb: clang: Fix 'Value stored to 'p' is never read'
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>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index c0b9dcdff39..18348223b17 100644 --- 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")); |