of the if block where it was before. The name is only used inside
that if block, but the storage is referenced outside it via the 's'
variable.
(This patch was part of SF patch #474590 -- RISC OS support.)
int sw_error=0;
int sign;
char buffer[256]; /* For errors */
+#ifdef Py_USING_UNICODE
+ char s_buffer[256];
+#endif
int len;
if (PyString_Check(v)) {
}
#ifdef Py_USING_UNICODE
else if (PyUnicode_Check(v)) {
- char s_buffer[256];
if (PyUnicode_GET_SIZE(v) >= sizeof(s_buffer)) {
PyErr_SetString(PyExc_ValueError,
"complex() literal too large to convert");