summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-30 20:59:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-30 20:59:57 +0000
commit577662b9747bc71f31964c8a98110871da24190b (patch)
treea963c20cc317682e994f7ff206d33bed67bd75d7 /pp_sys.c
parent385cbc5d172fe2c5abaaf5b3bbbb82e48a1d35fc (diff)
downloadperl-577662b9747bc71f31964c8a98110871da24190b.tar.gz
Code cleanup based on turning off the -woffs in IRIX.
Not all of the gripes cleaned up (hairy code in hv.c and regcomp.c; unused newsp, gimme, and optype from cop.h macros; unused 'key' arguments in ?DBM_File.xs) (and the -woffs left to the IRIX hints) p4raw-id: //depot/perl@11051
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 4f7a6c2ebd..f7e254274f 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -700,7 +700,6 @@ PP(pp_binmode)
MAGIC *mg;
SV *discp = Nullsv;
STRLEN len = 0;
- char *names = NULL;
if (MAXARG < 1)
RETPUSHUNDEF;
@@ -730,10 +729,6 @@ PP(pp_binmode)
RETPUSHUNDEF;
}
- if (discp) {
- names = SvPV(discp,len);
- }
-
if (PerlIO_binmode(aTHX_ fp,IoTYPE(io),mode_from_discipline(discp),
(discp) ? SvPV_nolen(discp) : Nullch))
RETPUSHYES;