diff options
author | Colm MacCarthaigh <colm@apache.org> | 2005-10-03 17:14:13 +0200 |
---|---|---|
committer | Colm MacCarthaigh <colm@apache.org> | 2005-10-03 17:14:13 +0200 |
commit | 05c9c1300611b2e9082292459ac132169d7a04b4 (patch) | |
tree | 7bc427a355c1e6a5d39963c4ce1907eb0ac2e4ac /server/request.c | |
parent | Whitespace fixes. (diff) | |
download | apache2-05c9c1300611b2e9082292459ac132169d7a04b4.tar.xz apache2-05c9c1300611b2e9082292459ac132169d7a04b4.zip |
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
Diffstat (limited to 'server/request.c')
-rw-r--r-- | server/request.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/request.c b/server/request.c index 99db3b3263..c807dd0d6c 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); |