Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7aedf11

Browse files
committed
fix compiler warning
1 parent 05e782f commit 7aedf11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static int
6060
internal_close(PyFileIOObject *self)
6161
{
6262
int err = 0;
63-
int save_errno;
63+
int save_errno = 0;
6464
if (self->fd >= 0) {
6565
int fd = self->fd;
6666
self->fd = -1;

0 commit comments

Comments
 (0)