Commit 2c3f9c6f authored by Tim Peters's avatar Tim Peters

Repaired a fatal compiler error in the debug build: it's not clear what

this was trying to assert, but the name it referenced didn't exist.
parent 919603b2
......@@ -503,7 +503,7 @@ decode_str(const char *str, struct tok_state *tok)
if (!check_bom(buf_getc, buf_ungetc, buf_setreadl, tok))
return NULL;
str = tok->str; /* string after BOM if any */
assert(r);
assert(str);
if (tok->enc != NULL) {
utf8 = translate_into_utf8(str, tok->enc);
if (utf8 == 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