diff --git a/src/runtime/stack.h b/src/runtime/stack.h index adaab82a..349f245a 100644 --- a/src/runtime/stack.h +++ b/src/runtime/stack.h @@ -28,6 +28,7 @@ size_t ts_stack_right_position(const TSStack *stack); #define TS_STACK_FROM_TOP(stack, entry, index) \ size_t index = stack.size - 1; \ + (void)index; \ for (TSStackEntry *entry = stack.entries + stack.size - 1; \ entry >= stack.entries; entry-- && index--)