From: William A. Rowe Jr Date: Tue, 9 Aug 2005 14:54:46 +0000 (+0000) Subject: Hopefully, address the last edge case where status may X-Git-Tag: 2.1.7~5^2~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d034a8eee91d99bb41f18aedd16b67506d792055;p=apache Hopefully, address the last edge case where status may be uninitialized. Asserts in non-debug builds are bad things, anyways, so this is probably more correct. This should fix -Werror compile warning observed by Joe Orton. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231046 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 06afae12c1..2e4b814902 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -949,7 +949,8 @@ skip_body: || (bytes_read > 0)); break; default: - ap_assert(1 != 1); + /* shouldn't be possible */ + status = APR_EINVAL; break; }