Commit d237e56b authored by Jonathan Wilkes's avatar Jonathan Wilkes

initialize member field before it gets read

parent 9d2190ed
Pipeline #1706 passed with stage
in 296 minutes and 1 second
......@@ -1237,6 +1237,7 @@ static void *text_sequence_new(t_symbol *s, int argc, t_atom *argv)
x->x_eaten = 0;
x->x_loop = 0;
x->x_lastto = 0;
x->x_clock = clock_new(x, (t_method)text_sequence_tick);
while (argc && argv->a_type == A_SYMBOL &&
*argv->a_w.w_symbol->s_name == '-')
{
......@@ -1285,7 +1286,6 @@ static void *text_sequence_new(t_symbol *s, int argc, t_atom *argv)
x->x_waitout = (global || x->x_waitsym || x->x_waitargc ?
outlet_new(&x->x_obj, &s_list) : 0);
x->x_endout = outlet_new(&x->x_obj, &s_bang);
x->x_clock = clock_new(x, (t_method)text_sequence_tick);
if (global)
{
if (x->x_waitargc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment