Skip to content

Commit 94ccb80

Browse files
Jerry D. HeddenSteve Hay
Jerry D. Hedden
authored and
Steve Hay
committed
Silence compiler warning in perlio.c
From: "Jerry D. Hedden" <[email protected]> Message-ID: <[email protected]> p4raw-id: //depot/perl@35073
1 parent 859c7a6 commit 94ccb80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

perlio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,6 +3199,8 @@ PerlIOStdio_close(pTHX_ PerlIO *f)
31993199
}
32003200
#endif
32013201
}
3202+
} else {
3203+
SAVE_ERRNO; /* This is here only to silence compiler warnings */
32023204
}
32033205
result = PerlSIO_fclose(stdio);
32043206
/* We treat error from stdio as success if we invalidated

0 commit comments

Comments
 (0)