mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Fixed warnings reported by gcc 4.7.1
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
0f3cba350e
commit
ffcb9741dc
12 changed files with 31 additions and 13 deletions
|
@ -1713,18 +1713,6 @@ void mpz_manager<SYNCH>::machine_div2k(mpz & a, unsigned k) {
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifndef _MP_GMP
|
||||
static void display_bits(std::ostream & out, digit_t a) {
|
||||
for (unsigned i = 0; i < sizeof(digit_t) * 8; i++) {
|
||||
if (a % 2 == 0)
|
||||
out << "0";
|
||||
else
|
||||
out << "1";
|
||||
a /= 2;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
template<bool SYNCH>
|
||||
void mpz_manager<SYNCH>::mul2k(mpz & a, unsigned k) {
|
||||
if (k == 0 || is_zero(a))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue