mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
(This used to be commit 4f9f4312e98cce7589fc8e094d08e76cc697ab3d)
This commit is contained in:
parent
20f7f49d7f
commit
294f0aaf9c
@ -153,7 +153,7 @@ NTSTATUS smb_tree_disconnect(struct smbcli_tree *tree)
|
||||
req = smbcli_request_setup(tree, SMBtdis, 0, 0);
|
||||
|
||||
if (smbcli_request_send(req)) {
|
||||
smbcli_request_receive(req);
|
||||
(void) smbcli_request_receive(req);
|
||||
}
|
||||
return smbcli_request_destroy(req);
|
||||
}
|
||||
|
@ -389,7 +389,7 @@ BOOL handle_oplock_break(struct smbcli_transport *transport, uint_t len, const u
|
||||
*/
|
||||
NTSTATUS smbcli_request_simple_recv(struct smbcli_request *req)
|
||||
{
|
||||
smbcli_request_receive(req);
|
||||
(void) smbcli_request_receive(req);
|
||||
return smbcli_request_destroy(req);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user