Skip to content

Commit

Permalink
Merge SVN 4904
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 23, 2024
1 parent 0b7bfb4 commit 75d1eac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cobc/tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -5795,9 +5795,6 @@ static cb_tree
compare_field_literal (cb_tree e, int swap, cb_tree x,
enum cb_binary_op_op op, struct cb_literal *l)
{
enum cb_binary_op_flag flag = cb_next_binary_op_flag;
cb_next_binary_op_flag = 0;

int i, j, scale, fscale;
int alph_lit, zero_val;
int lit_start, lit_length, refmod_length;
Expand All @@ -5807,6 +5804,10 @@ compare_field_literal (cb_tree e, int swap, cb_tree x,
cob_u32_t have_sign;
struct cb_reference *rl;

enum cb_binary_op_flag flag = cb_next_binary_op_flag;

cb_next_binary_op_flag = 0;

/* LCOV_EXCL_START */
if (!CB_REFERENCE_P (x)) {
cobc_err_msg (_("call to '%s' with invalid parameter '%s'"),
Expand Down

0 comments on commit 75d1eac

Please sign in to comment.