summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjailletc36 <jailletc36@13f79535-47bb-0310-9956-ffa450edef68>2022-11-18 18:01:29 +0000
committerjailletc36 <jailletc36@13f79535-47bb-0310-9956-ffa450edef68>2022-11-18 18:01:29 +0000
commit0caad1a2ca431aca9e90f0e1eaae1ef79e78aa5e (patch)
treeb10dfdd32796dd28009db007f263b38c89332c03
parent8a163085263672bd22906053a0b0ec348d5d1ca1 (diff)
downloadlibapr-0caad1a2ca431aca9e90f0e1eaae1ef79e78aa5e.tar.gz
Remove a useless variable that is shadowing another already existing one.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905386 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--network_io/unix/sendrecv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c
index ae7de9f64..6721a66e9 100644
--- a/network_io/unix/sendrecv.c
+++ b/network_io/unix/sendrecv.c
@@ -475,7 +475,6 @@ apr_status_t apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file,
break;
}
if (sock->options & APR_INCOMPLETE_WRITE) {
- apr_status_t arv;
sock->options &= ~APR_INCOMPLETE_WRITE;
arv = apr_wait_for_io_or_timeout(NULL, sock, 0);
if (arv != APR_SUCCESS) {