3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

Fixed warnings reported by gcc 4.7.1

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-31 00:05:38 -07:00
parent 0f3cba350e
commit ffcb9741dc
12 changed files with 31 additions and 13 deletions

View file

@ -77,6 +77,7 @@ static void tst2b() {
m.del(v3);
}
#if 0
static void mk_random_num_str(unsigned buffer_sz, char * buffer) {
unsigned sz = (rand() % (buffer_sz-2)) + 1;
SASSERT(sz < buffer_sz);
@ -87,6 +88,7 @@ static void mk_random_num_str(unsigned buffer_sz, char * buffer) {
buffer[0] = '-';
buffer[sz-1] = 0;
}
#endif
static void bug1() {
synch_mpz_manager m;