From d034a8eee91d99bb41f18aedd16b67506d792055 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 9 Aug 2005 14:54:46 +0000 Subject: [PATCH] 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 --- modules/proxy/mod_proxy_http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.50.1