mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
add initialization to unused parameters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
013127e947
commit
8fdf3177da
|
@ -773,7 +773,7 @@ def mk_log_macro(file, name, params):
|
||||||
if sz not in auxs:
|
if sz not in auxs:
|
||||||
auxs.add(sz)
|
auxs.add(sz)
|
||||||
file.write("unsigned * _Z3_UNUSED Z3ARG%s = 0; " % sz)
|
file.write("unsigned * _Z3_UNUSED Z3ARG%s = 0; " % sz)
|
||||||
file.write("%s _Z3_UNUSED Z3ARG%s; " % (param2str(p), i))
|
file.write("%s _Z3_UNUSED Z3ARG%s = 0; " % (param2str(p), i))
|
||||||
i = i + 1
|
i = i + 1
|
||||||
file.write("if (_LOG_CTX.enabled()) { log_%s(" % name)
|
file.write("if (_LOG_CTX.enabled()) { log_%s(" % name)
|
||||||
i = 0
|
i = 0
|
||||||
|
|
Loading…
Reference in a new issue