3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 06:03:23 +00:00

Fixed unused variable warnings in examples.

This commit is contained in:
Christoph M. Wintersteiger 2015-10-29 13:20:56 +00:00
parent 5cb4b1d188
commit 2818e977b6
5 changed files with 9 additions and 10 deletions

View file

@ -598,7 +598,7 @@ int smtlib_maxsat(char * file_name, int approach)
Z3_context ctx;
unsigned num_hard_cnstrs, num_soft_cnstrs;
Z3_ast * hard_cnstrs, * soft_cnstrs;
unsigned result;
unsigned result = 0;
ctx = mk_context();
Z3_parse_smtlib_file(ctx, file_name, 0, 0, 0, 0, 0, 0);
hard_cnstrs = get_hard_constraints(ctx, &num_hard_cnstrs);