The variables in these statments were undefined when compiled with
ccflag -DNO_LOCALE, because the declarations are skipped then. Just
move them a few lines up so are within the same #if.
Safefree(curnum);
#endif /* USE_LOCALE_NUMERIC */
-#else /* !USE_LOCALE */
- PERL_UNUSED_ARG(printwarn);
-#endif /* USE_LOCALE */
-
#ifdef __GLIBC__
Safefree(language);
#endif
Safefree(lc_all);
Safefree(lang);
+#else /* !USE_LOCALE */
+ PERL_UNUSED_ARG(printwarn);
+#endif /* USE_LOCALE */
+
return ok;
}