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
This commit is contained in:
Christian Heimes 2016-09-09 00:09:45 +02:00
parent 275270772e
commit c6cc23d0b9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}
}