summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2008-12-09 07:09:36 -0500
committerSteve Hay <SteveHay@planit.com>2008-12-10 17:55:31 +0000
commit94ccb8071447cc02333d411ff69ed91cc131500a (patch)
tree293662c87168c424158f5c3ad4826767a8c3f61e /perlio.c
parent859c7a68a0300956052bfa69d6a737b51a1891b1 (diff)
downloadperl-94ccb8071447cc02333d411ff69ed91cc131500a.tar.gz
Silence compiler warning in perlio.c
From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510812090909y11947acfy317e46417b9ae91d@mail.gmail.com> p4raw-id: //depot/perl@35073
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 95c3b24fb7..5db65b931a 100644
--- a/perlio.c
+++ b/perlio.c
@@ -3199,6 +3199,8 @@ PerlIOStdio_close(pTHX_ PerlIO *f)
}
#endif
}
+ } else {
+ SAVE_ERRNO; /* This is here only to silence compiler warnings */
}
result = PerlSIO_fclose(stdio);
/* We treat error from stdio as success if we invalidated