[serialize] Assert stack
This commit is contained in:
parent
72e9b2c16c
commit
abe33c6149
|
@ -227,6 +227,7 @@ struct hb_serialize_context_t
|
||||||
if (unlikely (!objidx))
|
if (unlikely (!objidx))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
assert (current.length);
|
||||||
unsigned i = current.length - 1;
|
unsigned i = current.length - 1;
|
||||||
if (!base)
|
if (!base)
|
||||||
base = current[i].head;
|
base = current[i].head;
|
||||||
|
|
Loading…
Reference in New Issue