commit | d8fe7ab711df2d6380aeff085fe8eda6b268f3eb | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Jan 08 02:19:07 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Jan 08 02:19:07 2006 +0000 |
tree | 6eb6e24d4a5c8399b1c6207eba636e9f406f6b8c | |
parent | 46aae198ad5178313271790cf7209843045346b6 [diff] [blame] |
analyze_cells(): This no longer compiled under VC 7.1. Move declaration of local `flags` to top of block.
diff --git a/Python/symtable.c b/Python/symtable.c index 915324d..7e876d4 100644 --- a/Python/symtable.c +++ b/Python/symtable.c
@@ -432,8 +432,9 @@ 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))