summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-11 16:42:11 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-11 16:42:11 +0000
commit2f3529075cdaceeaf619b8bd308885878ec9828a (patch)
tree65d0975d63e4fb0c9daa6e7cccfaff0066c228a8 /perl.c
parent9688998215db24fcbbf5a5b6d1ac4ce0dd91d4a2 (diff)
downloadperl-2f3529075cdaceeaf619b8bd308885878ec9828a.tar.gz
Remove C variables (and a parameter!) now unused since -P bit the dust.
p4raw-id: //depot/perl@32958
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/perl.c b/perl.c
index 67c99ebcc3..4397087ab9 100644
--- a/perl.c
+++ b/perl.c
@@ -2030,7 +2030,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
{
int suidscript;
const int fdscript
- = open_script(scriptname, dosearch, sv, &suidscript, &rsfp);
+ = open_script(scriptname, dosearch, &suidscript, &rsfp);
validate_suid(validarg, scriptname, fdscript, suidscript,
linestr_sv, rsfp);
@@ -3488,15 +3488,9 @@ S_init_main_stash(pTHX)
}
STATIC int
-S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv,
+S_open_script(pTHX_ const char *scriptname, bool dosearch,
int *suidscript, PerlIO **rsfpp)
{
-#ifndef IAMSUID
- const char *quote;
- const char *code;
- const char *cpp_discard_flag;
- const char *perl;
-#endif
int fdscript = -1;
dVAR;