mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
fix compiler warning
This commit is contained in:
parent
05e782fc3b
commit
7aedf11e57
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue