@@ -473,12 +473,12 @@ inspect_common (
473
473
static COB_INLINE COB_A_INLINE void
474
474
cob_inspect_init_common_mt (struct cob_inspect_state * * pst , cob_field * var )
475
475
{
476
+ struct cob_inspect_state * st ;
476
477
if (* pst == NULL ) {
477
478
* pst = malloc (sizeof (struct cob_inspect_state ));
478
479
(* pst )-> mark = NULL ;
479
480
(* pst )-> repdata = NULL ;
480
481
}
481
- struct cob_inspect_state * st ;
482
482
st = * pst ;
483
483
484
484
if (COB_FIELD_HAVE_SIGN (var ) && !COB_FIELD_SIGN_SEPARATE (var )) {
@@ -503,8 +503,8 @@ cob_inspect_init_common_mt (struct cob_inspect_state **pst, cob_field *var)
503
503
void
504
504
cob_inspect_init_mt (struct cob_inspect_state * * pst , cob_field * var , const cob_u32_t replacing )
505
505
{
506
- cob_inspect_init_common_mt (pst , var );
507
506
struct cob_inspect_state * st ;
507
+ cob_inspect_init_common_mt (pst , var );
508
508
st = * pst ;
509
509
st -> replacing = replacing ;
510
510
@@ -545,8 +545,8 @@ cob_inspect_init (cob_field *var, const cob_u32_t replacing)
545
545
void
546
546
cob_inspect_init_converting_mt (struct cob_inspect_state * * pst , cob_field * var )
547
547
{
548
- cob_inspect_init_common_mt (pst , var );
549
548
struct cob_inspect_state * st ;
549
+ cob_inspect_init_common_mt (pst , var );
550
550
st = * pst ;
551
551
st -> replacing = 0 ; /* only set for pre 3.2 compat because of cob_inspect_finish */
552
552
}
@@ -899,9 +899,9 @@ cob_inspect_finish (void)
899
899
void
900
900
cob_string_init_mt (struct cob_string_state * * pst , cob_field * dst , cob_field * ptr )
901
901
{
902
+ struct cob_string_state * st ;
902
903
if (* pst == NULL )
903
904
* pst = malloc (sizeof (struct cob_string_state ));
904
- struct cob_string_state * st ;
905
905
st = * pst ;
906
906
907
907
st -> dst_copy = * dst ;
@@ -1019,11 +1019,11 @@ cob_unstring_init_mt (
1019
1019
const size_t num_dlm
1020
1020
)
1021
1021
{
1022
+ struct cob_unstring_state * st ;
1022
1023
if (* pst == NULL ) {
1023
1024
* pst = malloc (sizeof (struct cob_unstring_state ));
1024
1025
(* pst )-> dlm_list = NULL ;
1025
1026
}
1026
- struct cob_unstring_state * st ;
1027
1027
st = * pst ;
1028
1028
1029
1029
st -> src_copy = * src ;
0 commit comments