diff --git a/mcstas/src/cogen.c.in b/mcstas/src/cogen.c.in index bd1234cea3..cd6f8d0819 100644 --- a/mcstas/src/cogen.c.in +++ b/mcstas/src/cogen.c.in @@ -1164,8 +1164,6 @@ int cogen_decls(struct instr_def *instr) index = list_len(instr->grouplist); // count GROUP liter = list_iterate(instr->complist); while((comp = list_next(liter)) != NULL) { - //It seems that JUMP alone does not require this struct?! - //index += list_len(comp->jump); // count JUMP if (comp->split) index++; // count SPLIT } list_iterate_end(liter); diff --git a/mcxtrace/src/cogen.c.in b/mcxtrace/src/cogen.c.in index ee466625eb..6e94367638 100644 --- a/mcxtrace/src/cogen.c.in +++ b/mcxtrace/src/cogen.c.in @@ -1166,7 +1166,6 @@ int cogen_decls(struct instr_def *instr) index = list_len(instr->grouplist); // count GROUP liter = list_iterate(instr->complist); while((comp = list_next(liter)) != NULL) { - index += list_len(comp->jump); // count JUMP if (comp->split) index++; // count SPLIT } list_iterate_end(liter);