mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +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
|
@ -283,7 +283,7 @@ public:
|
|||
++m_stats.m_num_removes;
|
||||
// assumption: key is in table.
|
||||
node* n = m_root;
|
||||
node* m;
|
||||
node* m = 0;
|
||||
for (unsigned i = 0; i < num_keys(); ++i) {
|
||||
n->dec_ref();
|
||||
VERIFY (to_trie(n)->find(get_key(keys, i), m));
|
||||
|
|
|
@ -1035,7 +1035,7 @@ namespace algebraic_numbers {
|
|||
|
||||
unsigned num_rem = 0; // number of remaining sequences
|
||||
unsigned target_i = UINT_MAX; // index of sequence that is isolating
|
||||
int target_lV, target_uV;
|
||||
int target_lV = 0, target_uV = 0;
|
||||
for (unsigned i = 0; i < num_fs; i++) {
|
||||
if (seqs[i] == 0)
|
||||
continue; // sequence was discarded because it does not contain the root.
|
||||
|
@ -1113,7 +1113,7 @@ namespace algebraic_numbers {
|
|||
|
||||
unsigned num_rem = 0; // number of remaining sequences
|
||||
unsigned target_i = UINT_MAX; // index of sequence that is isolating
|
||||
int target_lV, target_uV;
|
||||
int target_lV = 0, target_uV = 0;
|
||||
for (unsigned i = 0; i < num_fs; i++) {
|
||||
if (seqs[i] == 0)
|
||||
continue; // sequence was discarded because it does not contain the root.
|
||||
|
|
|
@ -540,7 +540,7 @@ namespace simplex {
|
|||
var_t max = get_num_vars();
|
||||
var_t result = max;
|
||||
row r = row(m_vars[x_i].m_base2row);
|
||||
int n;
|
||||
int n = 0;
|
||||
unsigned best_col_sz = UINT_MAX;
|
||||
int best_so_far = INT_MAX;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue