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:
parent
b11f9050e3
commit
9253ca9d86
7 changed files with 8 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue