Commit d8fe7ab7 authored by Tim Peters's avatar Tim Peters

analyze_cells(): This no longer compiled under VC 7.1.

Move declaration of local `flags` to top of block.
parent 46aae198
......@@ -432,8 +432,9 @@ analyze_cells(PyObject *scope, PyObject *free)
if (!w)
return 0;
while (PyDict_Next(scope, &pos, &name, &v)) {
long flags;
assert(PyInt_Check(v));
long flags = PyInt_AS_LONG(v);
flags = PyInt_AS_LONG(v);
if (flags != LOCAL)
continue;
if (!PyDict_GetItem(free, name))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment