diff options
Diffstat (limited to 'lib/ExtUtils/Constant')
-rw-r--r-- | lib/ExtUtils/Constant/ProxySubs.pm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ExtUtils/Constant/ProxySubs.pm b/lib/ExtUtils/Constant/ProxySubs.pm index 9bcf11011b..5ae56db731 100644 --- a/lib/ExtUtils/Constant/ProxySubs.pm +++ b/lib/ExtUtils/Constant/ProxySubs.pm @@ -312,13 +312,10 @@ EOBOOT print $xs_fh <<"EOBOOT"; #ifndef SYMBIAN + ${c_subname}_missing = get_hv("${symbol_table}${c_subname}_M!55!NG", TRUE); /* When we create the 'missing' hash, it generates a 'used only once' - * warning. Therefore, turn off warnings while we do this. - */ - const bool warn_tmp = PL_dowarn; - PL_dowarn = 0; + * warning. Avoid this: */ ${c_subname}_missing = get_hv("${symbol_table}${c_subname}_M!55!NG", TRUE); - PL_dowarn = warn_tmp; #endif EOBOOT |