From: Graham Leggett Date: Mon, 14 Sep 2009 19:06:36 +0000 (+0000) Subject: Move declaration to remove a compiler warning. X-Git-Tag: 2.3.3~306 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba3cb779abbcfc8a03333412006e19f11d9c46bf;p=apache Move declaration to remove a compiler warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@814779 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htcacheclean.c b/support/htcacheclean.c index 874df8a7a7..9d2a3a04f2 100644 --- a/support/htcacheclean.c +++ b/support/htcacheclean.c @@ -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;