diff options
| author | Walter Dörwald <walter@livinglogic.de> | 2002-11-21 20:23:11 +0000 |
|---|---|---|
| committer | Walter Dörwald <walter@livinglogic.de> | 2002-11-21 20:23:11 +0000 |
| commit | 0eade638617ada1b7b267fddc7a30b51596c88cf (patch) | |
| tree | f60aa84898bfc391478d72e1f80d12949c7f86ea /Python | |
| parent | 8273a3e31e591eb5b60bb5aaabc0b367abd75ffa (diff) | |
| download | cpython-0eade638617ada1b7b267fddc7a30b51596c88cf.tar.gz | |
Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that
the --disable-unicode build doesn't complain about an
unused variable.
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index cc0409dccc..58ef2a3fe9 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -400,7 +400,9 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf, { char *format = *p_format; char c = *format++; +#ifdef Py_USING_UNICODE PyObject *uarg; +#endif switch (c) { |
