Skip to content

Commit f53b3f9

Browse files
committed
fix: scanner.c warning
1 parent c4a8ad5 commit f53b3f9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/scanner.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ static bool scan_raw_string_begin(TSLexer *lexer, Scanner *s) {
9494
}
9595

9696
static bool scan_raw_string_content(TSLexer *lexer, Scanner *s) {
97-
uint32_t len = 0;
9897
while (!eof) {
9998
uint32_t num = consume_until(lexer, '\'');
10099
lexer->mark_end(lexer);
101-
len += num;
102100
adv;
103101
uint8_t level = consume_chars(lexer, '#');
104102
if (level == s->level) {

0 commit comments

Comments
 (0)