projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306d6b1
)
Fix compiler warning about obviously unreachable code.
author
Raymond Hettinger
<python@rcn.com>
Mon, 25 Jan 2016 06:15:20 +0000
(22:15 -0800)
committer
Raymond Hettinger
<python@rcn.com>
Mon, 25 Jan 2016 06:15:20 +0000
(22:15 -0800)
Modules/socketmodule.c
patch
|
blob
|
history
diff --git
a/Modules/socketmodule.c
b/Modules/socketmodule.c
index 7ab534e07a41e0e8fe655f3ef4acff8babbca39d..a6143c64d6183e02232434cd1e93b27957fe0c9e 100644
(file)
--- 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)