diff options
author | Alexander Bokovoy <ab@samba.org> | 2005-08-22 16:02:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:20 -0500 |
commit | 294f0aaf9ca61a72ed33b8f0b999f6871005da73 (patch) | |
tree | 8975373312107dcac354b103c00466cff79ad674 | |
parent | 20f7f49d7fa96969a62cdb570ac048027db14787 (diff) | |
download | samba-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)
-rw-r--r-- | source4/libcli/raw/clitree.c | 2 | ||||
-rw-r--r-- | source4/libcli/raw/rawrequest.c | 2 |
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); } |