mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Only declare variable when it's used.
This commit is contained in:
parent
c00d4b437d
commit
9137391d59
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue