for (;;)
{
- assert (op < e->ops + e->op_cnt);
+ assert (op < e->ops + e->n_ops);
switch (op++->operation)
{
case OP_number:
{
struct string s = DS_EMPTY_INITIALIZER;
- for (size_t i = 0; i < e->op_cnt; i++)
+ for (size_t i = 0; i < e->n_ops; i++)
{
union operation_data *op = &e->ops[i];
if (i > 0)
NOT_REACHED ();
}
}
- output_log ("%s", ds_cstr (&s));
- ds_destroy (&s);
+ output_log_nocopy (ds_steal_cstr (&s));
}