mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
Avoid unused value warning from array_pop
This commit is contained in:
parent
4922602369
commit
d0029a1527
|
|
@ -291,7 +291,7 @@ void ts_tree_cursor_goto_descendant(
|
|||
} else if (self->stack.size <= 1) {
|
||||
return;
|
||||
} else {
|
||||
array_pop(&self->stack);
|
||||
self->stack.size--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue