Skip to content

Commit b707d6c

Browse files
committed
fix: separate the if statement
1 parent 8f0b524 commit b707d6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cobj/codegen.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5070,7 +5070,9 @@ static void joutput_init_method(struct cb_program *prog) {
50705070
joutput_prefix();
50715071
joutput("%s = new CobolDataStorage(%d);", base_name,
50725072
blp->f->memory_size);
5073-
} else if (blp->f->flag_external) {
5073+
}
5074+
5075+
if (blp->f->flag_external) {
50745076
joutput_initialize_external(cb_build_field_reference(blp->f, NULL),
50755077
blp->f);
50765078
} else {

0 commit comments

Comments
 (0)