forked from github/server
bugfix assert
This commit is contained in:
parent
33ec0e321b
commit
4157bfbea2
|
@ -35,11 +35,10 @@ variant
|
||||||
opstack_pop(opstack ** stackp)
|
opstack_pop(opstack ** stackp)
|
||||||
{
|
{
|
||||||
opstack * stack = *stackp;
|
opstack * stack = *stackp;
|
||||||
variant v = *(--stack->top);
|
|
||||||
|
|
||||||
assert(stack);
|
assert(stack);
|
||||||
assert(stack->top>stack->begin);
|
assert(stack->top>stack->begin);
|
||||||
return v;
|
return *(--stack->top);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue