summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/socketmodule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 7ab534e07a..a6143c64d6 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -5411,10 +5411,6 @@ socket_inet_ntop(PyObject *self, PyObject *args)
} else {
return PyUnicode_FromString(retval);
}
-
- /* NOTREACHED */
- PyErr_SetString(PyExc_RuntimeError, "invalid handling of inet_ntop");
- return NULL;
}
#elif defined(MS_WINDOWS)