3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-21 02:30:23 +00:00

compile warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-02-19 10:03:38 -08:00
parent 6352340478
commit 9b6ac45e02
3 changed files with 8 additions and 7 deletions

View file

@ -200,14 +200,12 @@ 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() {
ous.clear();
std::string get_next_file_name() {
std::stringstream ous;
ous << "interval_lemma_" << g_problem_id << ".smt2";
g_problem_id++;
return ous.str().c_str();
return ous.str();
}
static void display_lemmas(unsynch_mpq_manager & nm, char const * result_term,