Skip to content

Commit 1aed3d8

Browse files
authored
Merge pull request #61 from diffblue/count_eq_warning
silence a warning that count_eq is not read
2 parents 6a42a64 + f531ff0 commit 1aed3d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ic3/p0ick_lit.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ void CompInfo::act_var_init(CLAUSE &B,CUBE &Avail_lits,SCUBE &Tried,
9494
else if (val == max_act_var) count_eq++;
9595
}
9696

97+
// silence a warning that count_eq is not read
98+
(void)count_eq;
9799

98100
assert(max_lit != 0);
99101
B.push_back(max_lit);
@@ -194,6 +196,9 @@ int CompInfo::find_inact_var(CLAUSE &Curr,SCUBE &Tried,FltCube &Act0,
194196
else if (val == min_var_act) count_eq++;
195197
}
196198

199+
// silence a warning that count_eq is not read
200+
(void)count_eq;
201+
197202
if (act_upd_mode == MINISAT_ACT_UPD)
198203
scale_factor_down(min_var_act);
199204

0 commit comments

Comments
 (0)