mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 12:25:51 +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:
parent
fa6f9b4a37
commit
5b497b6249
44 changed files with 68 additions and 70 deletions
|
@ -601,7 +601,7 @@ namespace datalog {
|
|||
return;
|
||||
}
|
||||
while (!m_stack_P.empty()) {
|
||||
unsigned on_stack_num;
|
||||
unsigned on_stack_num = 0;
|
||||
VERIFY( m_preorder_nums.find(m_stack_P.back(), on_stack_num) );
|
||||
if (on_stack_num <= p_num) {
|
||||
break;
|
||||
|
@ -710,7 +710,7 @@ namespace datalog {
|
|||
item_set::iterator eend=deps.end();
|
||||
for (; eit!=eend; ++eit) {
|
||||
T * tgt = *eit;
|
||||
unsigned tgt_comp;
|
||||
unsigned tgt_comp = 0;
|
||||
VERIFY( m_component_nums.find(tgt, tgt_comp) );
|
||||
|
||||
//m_components[tgt_comp]==0 means the edge is intra-component.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue