httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r814779 - /httpd/httpd/trunk/support/htcacheclean.c
Date Mon, 14 Sep 2009 19:06:36 GMT
Author: minfrin
Date: Mon Sep 14 19:06:36 2009
New Revision: 814779

URL: http://svn.apache.org/viewvc?rev=814779&view=rev
Log:
Move declaration to remove a compiler warning.

Modified:
    httpd/httpd/trunk/support/htcacheclean.c

Modified: httpd/httpd/trunk/support/htcacheclean.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/htcacheclean.c?rev=814779&r1=814778&r2=814779&view=diff
==============================================================================
--- httpd/httpd/trunk/support/htcacheclean.c (original)
+++ httpd/httpd/trunk/support/htcacheclean.c Mon Sep 14 19:06:36 2009
@@ -765,6 +765,7 @@
     char opt;
     const char *arg;
     char *proxypath, *path;
+    char errmsg[1024];
 
     interrupted = 0;
     repeat = 0;
@@ -779,7 +780,6 @@
     intelligent = 0;
     previous = 0; /* avoid compiler warning */
     proxypath = NULL;
-    char errmsg[1024];
 
     if (apr_app_initialize(&argc, &argv, NULL) != APR_SUCCESS) {
         return 1;



Mime
View raw message