3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 19:47:52 +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

@ -55,6 +55,7 @@ static void tst1() {
m.del(v3);
}
#if 0
static void mk_random_num_str(unsigned buffer_sz, char * buffer) {
unsigned div_pos;
unsigned sz = (rand() % (buffer_sz-2)) + 1;
@ -80,6 +81,7 @@ static void mk_random_num_str(unsigned buffer_sz, char * buffer) {
}
buffer[sz-1] = 0;
}
#endif
static void bug1() {
synch_mpq_manager m;