diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-19 15:19:46 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-19 15:19:46 (GMT) |
commit | 7aedf11e57bf38e992ebe6c0ae86167ae9b79412 (patch) | |
tree | 2b363f89217c0a47f0ccdbd1e48db7a33e3eb939 /Modules | |
parent | 05e782fc3b5f38a68a760e1044eab0b5db1d279a (diff) | |
download | cpython-7aedf11e57bf38e992ebe6c0ae86167ae9b79412.zip cpython-7aedf11e57bf38e992ebe6c0ae86167ae9b79412.tar.gz cpython-7aedf11e57bf38e992ebe6c0ae86167ae9b79412.tar.bz2 |
fix compiler warning
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_fileio.c b/Modules/_fileio.c index 03632f7..22b473c 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; |