mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
NULL-initialize pointers to help GCC static analyzer Fixes: variable may be used uninitialized
This commit is contained in:
parent
1cc4a4ccc5
commit
5134c16833
4 changed files with 17 additions and 16 deletions
|
@ -336,9 +336,9 @@ void rewriter_tpl<Config>::process_app(app * t, frame & fr) {
|
|||
UNREACHABLE();
|
||||
}
|
||||
// TODO: add rewrite rules support
|
||||
expr * def;
|
||||
proof * def_pr;
|
||||
quantifier * def_q;
|
||||
expr * def = nullptr;
|
||||
proof * def_pr = nullptr;
|
||||
quantifier * def_q = nullptr;
|
||||
// When get_macro succeeds, then
|
||||
// we know that:
|
||||
// forall X. f(X) = def[X]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue