fix compiler warning

This commit is contained in:
Benjamin Peterson 2009-01-19 15:19:46 +00:00
parent 05e782fc3b
commit 7aedf11e57
1 changed files with 1 additions and 1 deletions

View 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;