Commit b228525d authored by Victor Stinner's avatar Victor Stinner

fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot

parent 8a5febf2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment