Suppress unused variable warning in stack iteration macro
This commit is contained in:
parent
d38f095f01
commit
db295cebbc
1 changed files with 1 additions and 0 deletions
|
|
@ -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--)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue