summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2022-11-18 18:01:29 +0000
committerChristophe Jaillet <jailletc36@apache.org>2022-11-18 18:01:29 +0000
commited69b2be1f784ac15a2798bc4a36a3bd82b8b7c8 (patch)
treeb10dfdd32796dd28009db007f263b38c89332c03
parentf3427e1324c1673e97946802a1acfb1ac709a6e6 (diff)
downloadapr-ed69b2be1f784ac15a2798bc4a36a3bd82b8b7c8.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) {