summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-03-02 20:55:22 -0800
committerGitHub <noreply@github.com>2020-03-02 22:55:22 -0600
commit1d44edf91762b837adf3db5ed40af9383e883b28 (patch)
tree46ea1daadf805b812cb8fd4922faef3bf3dc7093 /src/theory
parent32d08ae682e6396049ac26c3d26537fb34143cba (diff)
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.
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/sets/theory_sets_private.cpp1
1 files changed, 0 insertions, 1 deletions
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)
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback