fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot
This commit is contained in:
parent
55a1220bdb
commit
b9981ba680
|
@ -5837,7 +5837,9 @@ posix_openpty(PyObject *self, PyObject *noargs)
|
|||
|
||||
posix_error:
|
||||
posix_error();
|
||||
#if defined(HAVE_OPENPTY) || defined(HAVE__GETPTY)
|
||||
error:
|
||||
#endif
|
||||
if (master_fd != -1)
|
||||
close(master_fd);
|
||||
if (slave_fd != -1)
|
||||
|
|
Loading…
Reference in New Issue