mirror of
https://github.com/python/cpython.git
synced 2025-10-22 06:32:43 +00:00
Fix compiler warning about obviously unreachable code.
This commit is contained in:
parent
306d6b1ea6
commit
1ce6885f8a
1 changed files with 0 additions and 4 deletions
|
@ -5411,10 +5411,6 @@ socket_inet_ntop(PyObject *self, PyObject *args)
|
||||||
} else {
|
} else {
|
||||||
return PyUnicode_FromString(retval);
|
return PyUnicode_FromString(retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* NOTREACHED */
|
|
||||||
PyErr_SetString(PyExc_RuntimeError, "invalid handling of inet_ntop");
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(MS_WINDOWS)
|
#elif defined(MS_WINDOWS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue