Commit c699fa9c authored by Walter Dörwald's avatar Walter Dörwald

Move three variables that are only used inside an if block into the block,

so the --disable-unicode build doesn't complain about unused variables.
parent d8c6e6f5
......@@ -1244,9 +1244,6 @@ parsestr(struct compiling *c, char *s)
{
PyObject *v;
size_t len;
char *buf;
char *p;
char *end;
int quote = *s;
int rawmode = 0;
char* encoding = ((c == NULL) ? NULL : c->c_encoding);
......@@ -1289,6 +1286,9 @@ parsestr(struct compiling *c, char *s)
#ifdef Py_USING_UNICODE
if (unicode || Py_UnicodeFlag) {
PyObject *u, *w;
char *buf;
char *p;
char *end;
if (encoding == NULL) {
buf = s;
u = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment