httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: svn commit: r814091 - in /httpd/httpd/trunk: CHANGES support/htcacheclean.c
Date Mon, 14 Sep 2009 18:07:52 GMT
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

Mime
View raw message