httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: -Werror compilation errors
Date Tue, 14 Oct 2003 19:18:46 GMT
Geoffrey Young <geoff@modperlcookbook.org> writes:

> > attached is a patch
> 
> oops.  here it is.

Thanks, applied with one change:

> @@ -277,9 +278,10 @@
>                                 const char *val)
>  {
>      struct apreq_xs_do_arg *d = (struct apreq_xs_do_arg *)data;
> -    void *env = d->env;
> +    void *env;
>      dTHXa(d->perl);
>      dSP;
> +    env = d->env;
>      if (key)
>          XPUSHs(sv_2mortal(newSVpv(key,0)));
>      else

"env" isn't needed at all in this section, so I dropped the variable
entirely.

-- 
Joe Schaefer


Mime
View raw message