mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 10:41:35 +00:00
deal with compiler warnings (unused variables etc)
This commit is contained in:
parent
6092bf534c
commit
c0f80f92ba
8 changed files with 14 additions and 23 deletions
|
@ -24,6 +24,7 @@ Revision History:
|
|||
#include "util/debug.h"
|
||||
#include "util/rlimit.h"
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
template class interval_manager<im_default_config>;
|
||||
typedef im_default_config::interval interval;
|
||||
|
@ -200,15 +201,13 @@ static void mk_random_interval(T & cfg, interval & a, unsigned magnitude) {
|
|||
#define BUFFER_SZ 256
|
||||
static int g_problem_id = 0;
|
||||
static char g_buffer[BUFFER_SZ];
|
||||
static std::stringstream ous;
|
||||
|
||||
char const * get_next_file_name() {
|
||||
#ifdef _WINDOWS
|
||||
sprintf_s(g_buffer, BUFFER_SZ, "interval_lemma_%d.smt2", g_problem_id);
|
||||
#else
|
||||
sprintf(g_buffer, "interval_lemma_%d.smt2", g_problem_id);
|
||||
#endif
|
||||
ous.clear();
|
||||
ous << "interval_lemma_" << g_problem_id << ".smt2";
|
||||
g_problem_id++;
|
||||
return g_buffer;
|
||||
return ous.str().c_str();
|
||||
}
|
||||
|
||||
static void display_lemmas(unsynch_mpq_manager & nm, char const * result_term,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue