From: Alexandre Vassalotti Date: Sat, 12 Apr 2008 21:40:56 +0000 (+0000) Subject: Removed unused variable. X-Git-Tag: v3.0a5~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d238cb81450971a53b3ab233ee99cc57c9021ef1;p=thirdparty%2FPython%2Fcpython.git Removed unused variable. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 716bf7d78a14..99efa561d2cf 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -5539,7 +5539,6 @@ conv_confname(PyObject *arg, int *valuep, struct constdef *table, size_t hi = tablesize; int cmp; const char *confname; - Py_ssize_t namelen; if (!PyUnicode_Check(arg)) { PyErr_SetString(PyExc_TypeError, "configuration names must be strings or integers"); @@ -5548,7 +5547,6 @@ conv_confname(PyObject *arg, int *valuep, struct constdef *table, confname = PyUnicode_AsString(arg); if (confname == NULL) return 0; - namelen = strlen(confname); while (lo < hi) { mid = (lo + hi) / 2; cmp = strcmp(confname, table[mid].name);