From: Benjamin Peterson Date: Mon, 19 Jan 2009 15:19:46 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: v3.1a1~464 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7aedf11e57bf38e992ebe6c0ae86167ae9b79412;p=thirdparty%2FPython%2Fcpython.git fix compiler warning --- diff --git a/Modules/_fileio.c b/Modules/_fileio.c index 03632f7680a0..22b473c51390 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;