summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2005-08-22 16:02:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:20 -0500
commit294f0aaf9ca61a72ed33b8f0b999f6871005da73 (patch)
tree8975373312107dcac354b103c00466cff79ad674 /source4/libcli
parent20f7f49d7fa96969a62cdb570ac048027db14787 (diff)
downloadsamba-294f0aaf9ca61a72ed33b8f0b999f6871005da73.tar.gz
samba-294f0aaf9ca61a72ed33b8f0b999f6871005da73.tar.bz2
samba-294f0aaf9ca61a72ed33b8f0b999f6871005da73.zip
r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
(This used to be commit 4f9f4312e98cce7589fc8e094d08e76cc697ab3d)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clitree.c2
-rw-r--r--source4/libcli/raw/rawrequest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c
index 25f346ef5d..74e14db591 100644
--- a/source4/libcli/raw/clitree.c
+++ b/source4/libcli/raw/clitree.c
@@ -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);
}
diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c
index b49009ac22..e01626a15c 100644
--- a/source4/libcli/raw/rawrequest.c
+++ b/source4/libcli/raw/rawrequest.c
@@ -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);
}