Skip to content

Commit

Permalink
make gcc linting happy
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Aug 26, 2024
1 parent b84b4e7 commit 84da614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/muz/spacer/spacer_legacy_frames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ bool pred_transformer::legacy_frames::propagate_to_next_level(unsigned src_level
for (unsigned i = 0; i < m_levels[src_level].size();) {
expr_ref_vector &src = m_levels[src_level];
expr * curr = src[i].get();
unsigned stored_lvl;
unsigned stored_lvl = 0;
VERIFY(m_prop2level.find(curr, stored_lvl));
SASSERT(stored_lvl >= src_level);
unsigned solver_level;
unsigned solver_level = 0;
if (stored_lvl > src_level) {
TRACE("spacer", tout << "at level: " << stored_lvl << " " << mk_pp(curr, m) << "\n";);
src[i] = src.back();
Expand Down
8 changes: 4 additions & 4 deletions src/muz/spacer/spacer_proof_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ namespace spacer {

ptr_buffer<expr> args;
for (unsigned i = 0, sz = m.get_num_parents(p); i < sz; ++i) {
proof *pp, *tmp;
pp = m.get_parent(p, i);
proof *tmp = nullptr;
proof* pp = m.get_parent(p, i);
VERIFY(m_cache.find(pp, tmp));
args.push_back(tmp);
dirty |= (pp != tmp);
Expand All @@ -455,8 +455,8 @@ namespace spacer {
}
}

proof* res;
VERIFY(m_cache.find(pr,res));
proof* res = nullptr;
VERIFY(m_cache.find(pr, res));
DEBUG_CODE(
proof_checker pc(m);
expr_ref_vector side(m);
Expand Down

0 comments on commit 84da614

Please sign in to comment.