diff options
author | Georg Brandl <georg@python.org> | 2009-10-27 21:37:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-10-27 21:37:48 (GMT) |
commit | 9137391d59abd43c87383994483e5bce80ad3226 (patch) | |
tree | ece87d981f68b92a6fd93548e4a8c81e035fb965 /Modules/_localemodule.c | |
parent | c00d4b437d544268b699fc57fe9e7c57ae89f1b3 (diff) | |
download | cpython-9137391d59abd43c87383994483e5bce80ad3226.zip cpython-9137391d59abd43c87383994483e5bce80ad3226.tar.gz cpython-9137391d59abd43c87383994483e5bce80ad3226.tar.bz2 |
Only declare variable when it's used.
Diffstat (limited to 'Modules/_localemodule.c')
-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; |