1
0
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:
Alexander Bokovoy
2005-08-22 16:02:11 +00:00
committed by Gerald (Jerry) Carter
parent 4b89d7c729
commit 4f9f4312e9
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);
}