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:
parent
275270772e
commit
c6cc23d0b9
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue