diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-12-09 12:33:07 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-12-09 12:39:33 -0800 |
commit | dc14223031e73fba1df77ee7be21bc903a6cc23b (patch) | |
tree | 4b718e81616f31f9c6a0b8bb0156380386ee52a7 /cpan/DB_File | |
parent | 100b2bb8398f189ce38052fd6f7138adebb1b995 (diff) | |
download | perl-dc14223031e73fba1df77ee7be21bc903a6cc23b.tar.gz |
DB_File.xs: Fix strict C89 compilation failure
I still need to post this upstream....
Diffstat (limited to 'cpan/DB_File')
-rw-r--r-- | cpan/DB_File/DB_File.xs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpan/DB_File/DB_File.xs b/cpan/DB_File/DB_File.xs index d694695739..514b1bdb37 100644 --- a/cpan/DB_File/DB_File.xs +++ b/cpan/DB_File/DB_File.xs @@ -1546,9 +1546,11 @@ BOOT: #endif #ifdef WANT_ERROR SV * sv_err = perl_get_sv(ERR_BUFF, GV_ADD|GV_ADDMULTI) ; - PERL_UNUSED_VAR(sv_err); /* huh? we just retrieved it... */ #endif MY_CXT_INIT; +#ifdef WANT_ERROR + PERL_UNUSED_VAR(sv_err); /* huh? we just retrieved it... */ +#endif __getBerkeleyDBInfo() ; DBT_clear(empty) ; |