mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix assorted compiler warnings
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
7ae68f003a
commit
6c22edc988
14 changed files with 24 additions and 34 deletions
|
@ -149,13 +149,12 @@ namespace opt {
|
|||
m_max_weight(0),
|
||||
m_denominator(1),
|
||||
m_alloc("hitting-sets"),
|
||||
m_weights_var(0),
|
||||
m_qhead(0),
|
||||
m_scope_lvl(0),
|
||||
m_conflict_j(justification(justification::AXIOM)),
|
||||
m_inconsistent(false),
|
||||
m_compare_scores(),
|
||||
m_heap(0, m_compare_scores) {
|
||||
m_scope_lvl(0),
|
||||
m_heap(0, m_compare_scores),
|
||||
m_weights_var(0) {
|
||||
m_enable_simplex = true;
|
||||
m_compare_scores.m_imp = this;
|
||||
}
|
||||
|
|
|
@ -1343,7 +1343,6 @@ namespace opt {
|
|||
break;
|
||||
}
|
||||
case O_MAXSMT: {
|
||||
maxsmt& ms = *m_maxsmts.find(obj.m_id);
|
||||
rational value(0);
|
||||
for (unsigned i = 0; i < obj.m_terms.size(); ++i) {
|
||||
VERIFY(m_model->eval(obj.m_terms[i], val));
|
||||
|
|
|
@ -41,9 +41,9 @@ namespace opt {
|
|||
m_params(p),
|
||||
m_context(mgr, m_params),
|
||||
m(mgr),
|
||||
m_dump_benchmarks(false),
|
||||
m_fm(fm),
|
||||
m_objective_sorts(m),
|
||||
m_dump_benchmarks(false),
|
||||
m_first(true) {
|
||||
m_params.updt_params(p);
|
||||
m_params.m_relevancy_lvl = 0;
|
||||
|
|
|
@ -73,7 +73,6 @@ namespace opt {
|
|||
filter_model_converter& m_fm;
|
||||
progress_callback * m_callback;
|
||||
symbol m_logic;
|
||||
bool m_objective_enabled;
|
||||
svector<smt::theory_var> m_objective_vars;
|
||||
vector<inf_eps> m_objective_values;
|
||||
sref_vector<model> m_models;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue