From 3eff8232d446cf22090757cd7aeeb456122a479a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 3 Apr 2011 18:11:39 +0000 Subject: [PATCH] Fix Python C wrapper compilation git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12600 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyrun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index d6e273df1..d0ee6df0f 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -167,8 +167,8 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi } if (!PyTuple_Check(args)) { if (min <= 1 && max >= 1) { - objs[0] = args; register int i; + objs[0] = args; for (i = 1; i < max; ++i) { objs[i] = 0; }