summaryrefslogtreecommitdiff
path: root/perlio.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
commit497b47a829dd93323de2c7f4f6815ab9f23d6ada (patch)
treea963c20cc317682e994f7ff206d33bed67bd75d7 /perlio.c
parent9108dd476ab123e35a9952fa95b6f608bede0e15 (diff)
downloadperl-497b47a829dd93323de2c7f4f6815ab9f23d6ada.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 'perlio.c')
-rw-r--r--perlio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index 3fac35d8e1..e20563aaf6 100644
--- a/perlio.c
+++ b/perlio.c
@@ -954,8 +954,7 @@ PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int mode, const char *names)
if (!names && (O_TEXT != O_BINARY && (mode & O_BINARY)))
{
PerlIO *top = f;
- PerlIOl *l;
- while ((l = *top))
+ while (*top)
{
if (PerlIOBase(top)->tab == &PerlIO_crlf)
{