Skip to content

Commit

Permalink
Remove unecessary changes in cobc/tree.c
Browse files Browse the repository at this point in the history
  • Loading branch information
engboris committed Jul 3, 2024
1 parent 9bb786b commit 7887b23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion cobc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
2024-02-26 Boris Eng <[email protected]>

FR #488: thread-safety for string handling using state vars
* tree.h (cb_program), tree.c (cb_build_program): new attributes
* tree.h (cb_program): new attributes
* codegen.c (output_strings_states, codegen_internal, output_data):
added structures for the data used by strings functions as local variables
in the C generated code. Handle CB_TAG_DIRECT in output_data function
Expand Down
6 changes: 0 additions & 6 deletions cobc/tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2248,12 +2248,6 @@ cb_build_program (struct cb_program *last_program, const int nest_level)
p->flag_recursive = 1;
}
}

/* state structure for strings */
p->inspect_st = NULL;
p->string_st = NULL;
p->unstring_st = NULL;

return p;
}

Expand Down

0 comments on commit 7887b23

Please sign in to comment.