This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Remove redundant SAVE_ERRNO
[perl5.git] / locale.c
index d6d91ea..1634bab 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -998,7 +998,6 @@ S_emulate_setlocale(const int category,
 #  endif
 
         if (! uselocale(old_obj)) {
-            SAVE_ERRNO;
 
 #  ifdef DEBUGGING