fix counter init in h_seq_append

This commit is contained in:
Sven M. Hallberg 2013-02-17 16:29:54 +01:00
parent a5c579c23d
commit b83be8472e

View file

@ -142,7 +142,7 @@ void h_seq_append(HParsedToken *xs, const HParsedToken *ys)
assert(ys != NULL);
assert(ys->token_type == TT_SEQUENCE);
for(size_t i; i<ys->seq->used; i++)
for(size_t i=0; i<ys->seq->used; i++)
h_carray_append(xs->seq, ys->seq->elements[i]);
}