From 1d44edf91762b837adf3db5ed40af9383e883b28 Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Mon, 2 Mar 2020 20:55:22 -0800 Subject: Fix `TheorySetsPrive::eqNotifyPostMerge()` (#3901) A local declaration of `s1` was shadowing `s1`, which meant that the non-local definition of `s1` could never be not null. This meant that parts of the code were never run. This commit fixes the issue by removing the local declaration. --- src/theory/sets/theory_sets_private.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/theory') diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp index df6f76cbf..1a798414e 100644 --- a/src/theory/sets/theory_sets_private.cpp +++ b/src/theory/sets/theory_sets_private.cpp @@ -97,7 +97,6 @@ void TheorySetsPrivate::eqNotifyPostMerge(TNode t1, TNode t2) { s2 = e2->d_singleton; EqcInfo* e1 = getOrMakeEqcInfo(t1); - Node s1; Trace("sets-prop-debug") << "Merging singletons..." << std::endl; if (e1) { -- cgit v1.2.3