Re: minor bugfix for Apache::Test

[prev] [thread] [next] [Date index for 2005/01/26]

From: Torsten Foertsch
Subject: Re: minor bugfix for Apache::Test
Date: 15:06 on 26 Jan 2005
--nextPart1744845.Tq313GRoNm
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 26 January 2005 15:28, Geoffrey Young wrote:
> > - =A0modperl_handler_t =A0*handler;
> > + =A0modperl_handler_t =A0*handler=3D0;
>
> hmm, what's that about?

It cures this warning:
IncludeHook.xs: In function `handle_perl':
IncludeHook.xs:49: warning: `handler' might be used uninitialized in this=20
function

In line 194 you are using the handler that can be uninitialized at that tim=
e=20
from the compiler's point of view. It don't see the logic behind seen_sub a=
nd=20
puts out the warning. Hence the simple assingment to cure the warning.

Torsten

--nextPart1744845.Tq313GRoNm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBB97IUwicyCTir8T4RApIwAJ9Vb0P6+OcUcfDCSebvuRClnDoNIACdFVew
Y83RSNubdG81s8Pk0veMw/M=
=FiVs
-----END PGP SIGNATURE-----

--nextPart1744845.Tq313GRoNm--

minor bugfix for Apache::Test
Torsten Foertsch 10:13 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Geoffrey Young 12:42 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Torsten Foertsch 13:22 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Geoffrey Young 14:28 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Geoffrey Young 14:30 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Torsten Foertsch 15:06 on 26 Jan 2005

Re: minor bugfix for Apache::Test
Geoffrey Young 18:00 on 26 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52