fix a potentially uninitialized variable
This commit is contained in:
parent
24c15f34cc
commit
67b6e9666c
1 changed files with 1 additions and 1 deletions
|
|
@ -798,7 +798,7 @@ HParseResult *h_lr_parse(HAllocator* mm__, const HParser* parser, HInputStream*
|
|||
value->seq = h_carray_new_sized(arena, len);
|
||||
|
||||
// pull values off the left stack, rewinding state accordingly
|
||||
HParsedToken *v;
|
||||
HParsedToken *v = NULL;
|
||||
for(size_t i=0; i<len; i++) {
|
||||
v = h_slist_pop(left);
|
||||
state = (uintptr_t)h_slist_pop(left);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue