From 7aedf11e57bf38e992ebe6c0ae86167ae9b79412 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 19 Jan 2009 15:19:46 +0000 Subject: [PATCH] fix compiler warning --- Modules/_fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_fileio.c b/Modules/_fileio.c index 03632f7680a..22b473c5139 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c @@ -60,7 +60,7 @@ static int internal_close(PyFileIOObject *self) { int err = 0; - int save_errno; + int save_errno = 0; if (self->fd >= 0) { int fd = self->fd; self->fd = -1;