mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4b89d7c729
commit
4f9f4312e9
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user