diff options
author | Georg Brandl <georg@python.org> | 2009-10-27 21:39:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-10-27 21:39:08 (GMT) |
commit | 227c4858bc336de1ff59a984f322da3100fb9992 (patch) | |
tree | 4f474d1e581d26c222eab0e55d5b63df14672131 /Modules | |
parent | 6f1ee6f4e6a1dd7b7d227233eeff3f53b0fa40a3 (diff) | |
download | cpython-227c4858bc336de1ff59a984f322da3100fb9992.zip cpython-227c4858bc336de1ff59a984f322da3100fb9992.tar.gz cpython-227c4858bc336de1ff59a984f322da3100fb9992.tar.bz2 |
Merged revisions 75877 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r75877 | georg.brandl | 2009-10-27 22:37:48 +0100 (Di, 27 Okt 2009) | 1 line
Only declare variable when it's used.
........
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_localemodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index d90a49d..fa6ab8f 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -281,7 +281,9 @@ PyLocale_strxfrm(PyObject* self, PyObject* args) wchar_t *s, *buf = NULL; size_t n1, n2; PyObject *result = NULL; +#ifndef HAVE_USABLE_WCHAR_T Py_ssize_t i; +#endif if (!PyArg_ParseTuple(args, "u#:strxfrm", &s0, &n0)) return NULL; |