You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2005/10/03 17:14:18 UTC

svn commit: r293364 - /httpd/httpd/trunk/server/request.c

Author: colm
Date: Mon Oct  3 08:14:13 2005
New Revision: 293364

URL: http://svn.apache.org/viewcvs?rev=293364&view=rev
Log:
Initialise a variable, to avoid a gcc warning.

Modified:
    httpd/httpd/trunk/server/request.c

Modified: httpd/httpd/trunk/server/request.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/request.c?rev=293364&r1=293363&r2=293364&view=diff
==============================================================================
--- httpd/httpd/trunk/server/request.c (original)
+++ httpd/httpd/trunk/server/request.c Mon Oct  3 08:14:13 2005
@@ -1581,7 +1581,8 @@
                                                 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);