On Wed, Aug 20, 2003 at 09:02:21AM -0700, David Wheeler wrote: > On Wednesday, August 20, 2003, at 07:49 AM, Tim Bunce wrote: > > >I'd be grateful if you could take a moment to try out this > >release candidate of DBI 1.38: > > All tests passed for me. > > mercury% perl -MDBI -e 'DBI->installed_versions' > Perl : 5.008 > OS : darwin > DBI : 1.38 > DBD::Sponge : 11.09 > DBD::Pg : 1.31_2 > DBD::ExampleP : 11.10 > > I did get a lot of warnings during `make`, though: > > DBI.xs:610: warning: `sv' might be used uninitialized in this function
Thanks. Does this fix those? --- DBI.xs 2003/08/20 00:15:24 11.31 +++ DBI.xs 2003/08/20 21:19:52 @@ -617,6 +617,7 @@ else { sv_dump(hrv); croak("Invalid DBI handle %s", neatsvpv(hrv,0)); + sv = &sv_undef; /* avoid "might be used uninitialized" warning */ } /* Short cut for common case. We assume that a magic var always */ Tim.