mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +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:
parent
1ca110b547
commit
18e2d6b009
@ -677,7 +677,6 @@ static void cli_session_setup_guest_done(struct tevent_req *subreq)
|
|||||||
tevent_req_nterror(req, status);
|
tevent_req_nterror(req, status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
p += ret;
|
|
||||||
|
|
||||||
tevent_req_done(req);
|
tevent_req_done(req);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user