Skip to content

Commit c6cc23d

Browse files
committed
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
1 parent 2752707 commit c6cc23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/tokenizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end)
17371737
else {
17381738
end_quote_size = 0;
17391739
if (c == '\\')
1740-
c = tok_nextc(tok); /* skip escaped char */
1740+
tok_nextc(tok); /* skip escaped char */
17411741
}
17421742
}
17431743

0 commit comments

Comments
 (0)