From 29602e42ebdccab99ee8396bba74bd46d5c200b1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 22 Nov 2006 04:45:33 +0000 Subject: Make it compile with older compilers. --- Python/ceval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index 5d5acd0..2ae12c3 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2721,11 +2721,11 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals, for (i = co->co_argcount; i < co->co_argcount + co->co_kwonlyargcount; i++) { + PyObject *name, *def; if (GETLOCAL(i) != NULL) continue; - PyObject *name = - PyTuple_GET_ITEM(co->co_varnames, i); - PyObject *def = NULL; + name = PyTuple_GET_ITEM(co->co_varnames, i); + def = NULL; if (kwdefs != NULL) def = PyDict_GetItem(kwdefs, name); if (def != NULL) { -- cgit v0.12