]> granicus.if.org Git - python/commitdiff
fix compiler warning
authorBenjamin Peterson <benjamin@python.org>
Mon, 19 Jan 2009 15:19:46 +0000 (15:19 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 19 Jan 2009 15:19:46 +0000 (15:19 +0000)
Modules/_fileio.c

index 03632f7680a002b1470bc286d00a102e117234fc..22b473c513905dab6c678f1d0c8ebb829ff89917 100644 (file)
@@ -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;