diff options
author | Raymond Hettinger <python@rcn.com> | 2016-01-25 06:15:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-01-25 06:15:20 (GMT) |
commit | 1ce6885f8a5bc2cca1fb03fa0b0bd953407f3c25 (patch) | |
tree | 23c1e109b4857cbdb2b6baeb9eeece3810ac5d6a /Modules/socketmodule.c | |
parent | 306d6b1ea6bf2582b9284be2fd27275abbade3e1 (diff) | |
download | cpython-1ce6885f8a5bc2cca1fb03fa0b0bd953407f3c25.zip cpython-1ce6885f8a5bc2cca1fb03fa0b0bd953407f3c25.tar.gz cpython-1ce6885f8a5bc2cca1fb03fa0b0bd953407f3c25.tar.bz2 |
Fix compiler warning about obviously unreachable code.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 7ab534e..a6143c6 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) |