mirror of https://github.com/python/cpython
fix compiler warning
This commit is contained in:
parent
05e782fc3b
commit
7aedf11e57
|
@ -60,7 +60,7 @@ static int
|
||||||
internal_close(PyFileIOObject *self)
|
internal_close(PyFileIOObject *self)
|
||||||
{
|
{
|
||||||
int err = 0;
|
int err = 0;
|
||||||
int save_errno;
|
int save_errno = 0;
|
||||||
if (self->fd >= 0) {
|
if (self->fd >= 0) {
|
||||||
int fd = self->fd;
|
int fd = self->fd;
|
||||||
self->fd = -1;
|
self->fd = -1;
|
||||||
|
|
Loading…
Reference in New Issue