httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r293364 - /httpd/httpd/trunk/server/request.c
Date Mon, 03 Oct 2005 15:14:18 GMT
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);



Mime
View raw message