3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-08 07:15:07 +00:00

fix un-intialized variable warnings

This commit is contained in:
Nikolaj Bjorner 2024-09-30 15:08:33 -07:00
parent 2c94a3a1b3
commit 551cc53a2f
8 changed files with 10 additions and 10 deletions

View file

@ -313,7 +313,7 @@ namespace datalog {
void context::register_finite_sort(sort * s, sort_kind k) {
m_pinned.push_back(s);
SASSERT(!m_sorts.contains(s));
sort_domain * dom;
sort_domain * dom = nullptr;
switch (k) {
case SK_SYMBOL:
dom = alloc(symbol_sort_domain, *this, s);