1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +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:
Alexander Bokovoy 2005-08-22 16:02:11 +00:00 committed by Gerald (Jerry) Carter
parent 20f7f49d7f
commit 294f0aaf9c
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}