diff options
Diffstat (limited to 'src/tree_sitter/stack.c')
-rw-r--r-- | src/tree_sitter/stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tree_sitter/stack.c b/src/tree_sitter/stack.c index ade1577566..6ceee2577f 100644 --- a/src/tree_sitter/stack.c +++ b/src/tree_sitter/stack.c @@ -480,6 +480,7 @@ StackSliceArray ts_stack_pop_count(Stack *self, StackVersion version, uint32_t c } inline StackAction pop_pending_callback(void *payload, const StackIterator *iterator) { + (void)payload; if (iterator->subtree_count >= 1) { if (iterator->is_pending) { return StackActionPop | StackActionStop; @@ -532,6 +533,7 @@ SubtreeArray ts_stack_pop_error(Stack *self, StackVersion version) { } inline StackAction pop_all_callback(void *payload, const StackIterator *iterator) { + (void)payload; return iterator->node->link_count == 0 ? StackActionPop : StackActionNone; } |