3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00

reduce set of mainly verbose warnings raised by -Wmaybe-uninitialized and unused variable warnings from release mode builds

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-06-22 20:25:47 -07:00
parent fa6f9b4a37
commit 5b497b6249
44 changed files with 68 additions and 70 deletions

View file

@ -70,9 +70,9 @@ namespace sat {
tout << "watch_list:\n";
sat::display(tout, s.m_cls_allocator, s.get_wlist(~c[0]));
tout << "\n";);
SASSERT(contains_watched(s.get_wlist(~c[0]), c[1], c[2]));
SASSERT(contains_watched(s.get_wlist(~c[1]), c[0], c[2]));
SASSERT(contains_watched(s.get_wlist(~c[2]), c[0], c[1]));
VERIFY(contains_watched(s.get_wlist(~c[0]), c[1], c[2]));
VERIFY(contains_watched(s.get_wlist(~c[1]), c[0], c[2]));
VERIFY(contains_watched(s.get_wlist(~c[2]), c[0], c[1]));
}
else {
if (s.value(c[0]) == l_false || s.value(c[1]) == l_false) {