1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3/libsmb: clang: Fix 'warning: Value stored to 'p' is never read'

Fixes:

source3/libsmb/cliconnect.c:649:2: warning: Value stored to 'p' is never read <--[clang]
        p += ret;
        ^    ~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 26 19:59:24 UTC 2019 on sn-devel-184
This commit is contained in:
Noel Power 2019-08-15 14:30:29 +01:00 committed by Jeremy Allison
parent 1ca110b547
commit 18e2d6b009

View File

@ -677,7 +677,6 @@ static void cli_session_setup_guest_done(struct tevent_req *subreq)
tevent_req_nterror(req, status);
return;
}
p += ret;
tevent_req_done(req);
}