Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jul 22, 2020
1 parent 45855fc commit 71a32f5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/math/lp/nla_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ new_lemma& new_lemma::operator|=(ineq const& ineq) {
new_lemma::~new_lemma() {
static int i = 0;
(void)i;
(void)name;
// code for checking lemma can be added here
TRACE("nla_solver", tout << name << " " << (++i) << "\n" << *this; );
}
Expand Down
1 change: 0 additions & 1 deletion src/model/value_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ expr * user_sort_factory::get_some_value(sort * s) {
m_sort2value_set.find(s, set);
SASSERT(set != 0);
SASSERT(!set->m_values.empty());
unsigned nv = set->m_values.size();
random_gen rand(m_manager.get_num_asts());
unsigned n = 1;
expr* result = nullptr;
Expand Down
1 change: 0 additions & 1 deletion src/smt/seq_regex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ namespace smt {
sort* elem_sort = nullptr, *seq_sort = nullptr;
VERIFY(u().is_re(r, seq_sort));
VERIFY(u().is_seq(seq_sort, elem_sort));
sort* domain[2] = { m.get_sort(n), a().mk_int() };
return sk().mk("re.first", n, a().mk_int(r->get_id()), elem_sort);
}
}
4 changes: 3 additions & 1 deletion src/smt/smt_induction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ collect_induction_literals::collect_induction_literals(context& ctx, ast_manager
m(m),
vs(vs),
m_literal_index(0)
{}
{
(void)vs;
}

literal_vector collect_induction_literals::operator()() {
literal_vector candidates = pre_select();
Expand Down
2 changes: 1 addition & 1 deletion src/smt/theory_str.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8138,7 +8138,7 @@ namespace smt {
// Returns true if this can be done in a valid way, placing the converted value in the argument.
// Otherwise, returns false, if str is empty or contains non-digit characters.
bool theory_str::string_integer_conversion_valid(zstring str, rational& converted) const {
bool valid = true;
// bool valid = true;
converted = rational::zero();
rational ten(10);
if (str.length() == 0) {
Expand Down

0 comments on commit 71a32f5

Please sign in to comment.