Avoid unused value warning from array_pop

This commit is contained in:
Max Brunsfeld 2023-06-14 11:31:39 -07:00
parent 4922602369
commit d0029a1527

View file

@ -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--;
}
}