From: Neal Norwitz Date: Fri, 31 May 2002 21:47:02 +0000 (+0000) Subject: Remove unused static function X-Git-Tag: v2.3c1~5535 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e12905e034c22d067c37d42f8627108f9b25f2d;p=python Remove unused static function --- diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 03c222ad47..bdd3a52178 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -635,25 +635,6 @@ static char module_doc[] = *** IMPORTANT NOTICE ***\n\ On Windows, only sockets are supported; on Unix, all file descriptors."; -/* - * Convenience routine to export an integer value. - * For simplicity, errors (which are unlikely anyway) are ignored. - */ - -static void -insint(PyObject *d, char *name, int value) -{ - PyObject *v = PyInt_FromLong((long) value); - if (v == NULL) { - /* Don't bother reporting this error */ - PyErr_Clear(); - } - else { - PyDict_SetItemString(d, name, v); - Py_DECREF(v); - } -} - DL_EXPORT(void) initselect(void) {