summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}