mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
fix more compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
282173773f
commit
65dff93e93
|
@ -1015,7 +1015,6 @@ namespace datalog {
|
||||||
|
|
||||||
virtual void operator()(relation_base & _r) {
|
virtual void operator()(relation_base & _r) {
|
||||||
karr_relation & r = get(_r);
|
karr_relation & r = get(_r);
|
||||||
karr_relation_plugin & p = r.get_plugin();
|
|
||||||
if (m_value.is_int()) {
|
if (m_value.is_int()) {
|
||||||
r.get_ineqs();
|
r.get_ineqs();
|
||||||
vector<rational> row;
|
vector<rational> row;
|
||||||
|
|
|
@ -42,11 +42,11 @@ bool node::operator==(node const& other) const {
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
// manager
|
// manager
|
||||||
|
|
||||||
manager::manager() :
|
manager::manager() :
|
||||||
|
m_alloc_node(2),
|
||||||
m_false(0),
|
m_false(0),
|
||||||
m_true(1),
|
m_true(1),
|
||||||
m_root(m_false),
|
m_root(m_false)
|
||||||
m_alloc_node(2)
|
|
||||||
{
|
{
|
||||||
m_nodes.push_back(node()); // false
|
m_nodes.push_back(node()); // false
|
||||||
m_nodes.push_back(node()); // true
|
m_nodes.push_back(node()); // true
|
||||||
|
@ -183,7 +183,6 @@ node_id manager::insert(unsigned idx, node_id n) {
|
||||||
|
|
||||||
node nd = m_nodes[n];
|
node nd = m_nodes[n];
|
||||||
SASSERT(idx >= nd.var());
|
SASSERT(idx >= nd.var());
|
||||||
unsigned idx0 = idx;
|
|
||||||
while (idx > nd.var()) {
|
while (idx > nd.var()) {
|
||||||
if (idx2bit(idx) && !is_dont_care(idx2key(idx))) {
|
if (idx2bit(idx) && !is_dont_care(idx2key(idx))) {
|
||||||
return mk_node(idx, n, insert(idx, n));
|
return mk_node(idx, n, insert(idx, n));
|
||||||
|
|
Loading…
Reference in a new issue