]> granicus.if.org Git - apache/commitdiff
Hopefully, address the last edge case where status may
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 9 Aug 2005 14:54:46 +0000 (14:54 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 9 Aug 2005 14:54:46 +0000 (14:54 +0000)
  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

index 06afae12c15de27f55e54316d0b47911cbefe1f7..2e4b8149021136287a2c9f6cc80578fee646693e 100644 (file)
@@ -949,7 +949,8 @@ skip_body:
                                               || (bytes_read > 0));
         break;
     default:
-        ap_assert(1 != 1);
+        /* shouldn't be possible */
+        status = APR_EINVAL;
         break;
     }