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

make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-06-14 08:10:10 -07:00
parent b11f9050e3
commit 9253ca9d86
7 changed files with 8 additions and 9 deletions

View file

@ -1034,7 +1034,7 @@ namespace smt2 {
else {
std::ostringstream str;
str << "unknown attribute " << id;
warning_msg(str.str().c_str());
warning_msg("%s", str.str().c_str());
next();
// just consume the
consume_sexpr();