From: Colm MacCarthaigh Date: Mon, 3 Oct 2005 15:15:36 +0000 (+0000) Subject: Merge r293364 from trunk. X-Git-Tag: 2.1.9~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f2c6d5ae4e96b661b47ad5221701f320f07a3bf;p=thirdparty%2Fapache%2Fhttpd.git Merge r293364 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@293365 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index 99db3b32639..c807dd0d6c1 100644 --- a/server/request.c +++ b/server/request.c @@ -1581,7 +1581,8 @@ AP_DECLARE(request_rec *) ap_sub_req_method_uri(const char *method, ap_filter_t *next_filter) { request_rec *rnew; - int res; + /* Initialise res, to avoid a gcc warning */ + int res = HTTP_INTERNAL_SERVER_ERROR; char *udir; rnew = make_sub_request(r, next_filter);