On Wednesday, August 20, 2003, at 02:20 PM, Tim Bunce wrote:

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 */

Yes, but there are still the other ones:


cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
DBI.xs: In function `dbih_clearcom':
DBI.xs:978: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1115: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1270: warning: unused variable `Perl___notused'
DBI.xs:1195: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1406: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1783: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2543: warning: unused variable `Perl___notused'
DBI.c: In function `dbih_make_com':
DBI.xs:721: warning: `memzero_size' might be used uninitialized in this function


Regards,

David

--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]



Reply via email to