mirror of
https://github.com/Z3Prover/z3
synced 2025-07-26 06:07:01 +00:00
assorted compiler warnings fixes
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
parent
5f59dd1644
commit
97a5e6d326
6 changed files with 18 additions and 20 deletions
|
@ -138,9 +138,8 @@ bool bit_vector::operator==(bit_vector const & source) const {
|
|||
bit_vector & bit_vector::operator|=(bit_vector const & source) {
|
||||
if (size() < source.size())
|
||||
resize(source.size(), false);
|
||||
unsigned n1 = num_words();
|
||||
unsigned n2 = source.num_words();
|
||||
SASSERT(n2 <= n1);
|
||||
SASSERT(n2 <= num_words());
|
||||
unsigned bit_rest = source.m_num_bits % 32;
|
||||
if (bit_rest == 0) {
|
||||
unsigned i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue