You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dan Poirier <po...@pobox.com> on 2009/09/14 20:07:52 UTC

Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c

On 09/11/2009 07:57 PM, minfrin@apache.org wrote:
> Modified: httpd/httpd/trunk/support/htcacheclean.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/htcacheclean.c?rev=814091&r1=814090&r2=814091&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/support/htcacheclean.c (original)
> +++ httpd/httpd/trunk/support/htcacheclean.c Fri Sep 11 23:57:48 2009
> @@ -776,6 +779,7 @@
>       intelligent = 0;
>       previous = 0; /* avoid compiler warning */
>       proxypath = NULL;
> +    char errmsg[1024];
>
>       if (apr_app_initialize(&argc,&argv, NULL) != APR_SUCCESS) {
>           return 1;

This adds a variable declaration in the middle of a block, which I 
believe is invalid in C89.  (Though gcc doesn't seem to care.)

Dan