From: Colm MacCarthaigh Date: Mon, 3 Oct 2005 15:14:13 +0000 (+0000) Subject: Initialise a variable, to avoid a gcc warning. X-Git-Tag: 2.3.0~2916 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c9c1300611b2e9082292459ac132169d7a04b4;p=thirdparty%2Fapache%2Fhttpd.git Initialise a variable, to avoid a gcc warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@293364 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);