1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

* Avoid "may be uninitialized" warning

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898731 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2022-03-08 13:01:25 +00:00
parent 024982eec4
commit 5f4978a14a

View File

@@ -244,7 +244,8 @@ static int lua_read_body(request_rec *r, const char **rbuf, apr_off_t *size,
if (ap_should_client_block(r)) {
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
apr_off_t len_read, rpos = 0;
apr_off_t len_read = -1;
apr_off_t rpos = 0;
apr_off_t length = r->remaining;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/