[Python-checkins] cpython: #12753: fix compilation on Windows.
ezio.melotti
python-checkins at python.org
Fri Oct 21 23:24:25 CEST 2011
http://hg.python.org/cpython/rev/329b96fe4472
changeset: 73047:329b96fe4472
parent: 73044:a985d733b3a3
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Oct 22 00:24:17 2011 +0300
summary:
#12753: fix compilation on Windows.
files:
Modules/unicodedata.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -953,9 +953,10 @@
if (self && UCD_Check(self)) {
/* in 3.2.0 there are no aliases and named sequences */
+ const change_record *old;
if (IS_ALIAS(code) || IS_NAMED_SEQ(code))
return 0;
- const change_record *old = get_old_record(self, code);
+ old = get_old_record(self, code);
if (old->category_changed == 0) {
/* unassigned */
return 0;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list