mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
(This used to be commit 4f9f4312e9
)
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);
|
req = smbcli_request_setup(tree, SMBtdis, 0, 0);
|
||||||
|
|
||||||
if (smbcli_request_send(req)) {
|
if (smbcli_request_send(req)) {
|
||||||
smbcli_request_receive(req);
|
(void) smbcli_request_receive(req);
|
||||||
}
|
}
|
||||||
return smbcli_request_destroy(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)
|
NTSTATUS smbcli_request_simple_recv(struct smbcli_request *req)
|
||||||
{
|
{
|
||||||
smbcli_request_receive(req);
|
(void) smbcli_request_receive(req);
|
||||||
return smbcli_request_destroy(req);
|
return smbcli_request_destroy(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user