This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In embed.pl, move the logic for perlapi.c's Tolkien quote out from do_not_edit()
[perl5.git] / miniperlmain.c
index 39f8f19..59d79b0 100644 (file)
@@ -74,7 +74,9 @@ main(int argc, char **argv, char **env)
     my_vars = my_plvarsp = plvarsp;
 #  endif
 #endif /* PERL_GLOBAL_STRUCT */
-    (void)env;
+#ifndef NO_ENV_ARRAY_IN_MAIN
+    PERL_UNUSED_ARG(env);
+#endif
 #ifndef PERL_USE_SAFE_PUTENV
     PL_use_safe_putenv = 0;
 #endif /* PERL_USE_SAFE_PUTENV */