From 05c9c1300611b2e9082292459ac132169d7a04b4 Mon Sep 17 00:00:00 2001 From: Colm MacCarthaigh Date: Mon, 3 Oct 2005 15:14:13 +0000 Subject: [PATCH] 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 --- server/request.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.47.2