]> granicus.if.org Git - apache/commitdiff
Move declaration to remove a compiler warning.
authorGraham Leggett <minfrin@apache.org>
Mon, 14 Sep 2009 19:06:36 +0000 (19:06 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 14 Sep 2009 19:06:36 +0000 (19:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814779 13f79535-47bb-0310-9956-ffa450edef68

support/htcacheclean.c

index 874df8a7a76733bc0f37cf03493cd0bbb08021a0..9d2a3a04f24bb4969682e475f1314e67e1900bda 100644 (file)
@@ -765,6 +765,7 @@ int main(int argc, const char * const argv[])
     char opt;
     const char *arg;
     char *proxypath, *path;
+    char errmsg[1024];
 
     interrupted = 0;
     repeat = 0;
@@ -779,7 +780,6 @@ int main(int argc, const char * const argv[])
     intelligent = 0;
     previous = 0; /* avoid compiler warning */
     proxypath = NULL;
-    char errmsg[1024];
 
     if (apr_app_initialize(&argc, &argv, NULL) != APR_SUCCESS) {
         return 1;