From 7887b235fc6b185bf45f00d6ba309c4191dccd93 Mon Sep 17 00:00:00 2001 From: engboris Date: Wed, 3 Jul 2024 14:32:05 +0200 Subject: [PATCH] Remove unecessary changes in cobc/tree.c --- cobc/ChangeLog | 2 +- cobc/tree.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cobc/ChangeLog b/cobc/ChangeLog index 1118c7fd2..276341c45 100644 --- a/cobc/ChangeLog +++ b/cobc/ChangeLog @@ -64,7 +64,7 @@ 2024-02-26 Boris Eng 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 diff --git a/cobc/tree.c b/cobc/tree.c index d4cc5ef83..a49d8aaf0 100644 --- a/cobc/tree.c +++ b/cobc/tree.c @@ -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; }