summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-10-28 13:00:50 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-10-28 13:00:50 (GMT)
commit4d46c2a7229eee963180a938c914bee3352a016f (patch)
tree4612b79a876626d1fb3a8d498c90bdd38b40a07b /Python
parent5d1155c08edf7f53eca804b2b6538636c2dfe711 (diff)
downloadcpython-4d46c2a7229eee963180a938c914bee3352a016f.zip
cpython-4d46c2a7229eee963180a938c914bee3352a016f.tar.gz
cpython-4d46c2a7229eee963180a938c914bee3352a016f.tar.bz2
Remove unused variable.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 9c50b88..d05232c 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -37,7 +37,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
{
PyObject *func, *name, *bases, *mkw, *meta, *winner, *prep, *ns, *cell;
PyObject *cls = NULL;
- Py_ssize_t nargs, nbases;
+ Py_ssize_t nargs;
int isclass;
assert(args != NULL);
@@ -62,7 +62,6 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
bases = PyTuple_GetSlice(args, 2, nargs);
if (bases == NULL)
return NULL;
- nbases = nargs - 2;
if (kwds == NULL) {
meta = NULL;