Commit c6cc23d0 authored by Christian Heimes's avatar Christian Heimes

Skip unused value in tokenizer code

In the case of an escape character, c is never read. tok_next() is
used to advance the pointer.

CID 1225097
parent 27527077
......@@ -1737,7 +1737,7 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end)
else {
end_quote_size = 0;
if (c == '\\')
c = tok_nextc(tok); /* skip escaped char */
tok_nextc(tok); /* skip escaped char */
}
}
......
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