summaryrefslogtreecommitdiff
path: root/src/theory/arrays/theory_arrays.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-02-24 16:26:44 -0800
committerGitHub <noreply@github.com>2021-02-24 16:26:44 -0800
commite36aeda0e759c5328ba76412dde8afbecf34970b (patch)
tree47f6795c587710c78cc558abbb3576f397c7e3b7 /src/theory/arrays/theory_arrays.cpp
parentc3e16e447aed037806f874a54ae74d6850415fd7 (diff)
Enable -Werror. (#5969)
Diffstat (limited to 'src/theory/arrays/theory_arrays.cpp')
-rw-r--r--src/theory/arrays/theory_arrays.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index f07140d4e..4dd7dcafd 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -936,7 +936,10 @@ void TheoryArrays::checkPair(TNode r1, TNode r2)
case EQUALITY_FALSE_AND_PROPAGATED:
// Should have been propagated to us
Assert(false);
- case EQUALITY_FALSE:
+#ifdef NDEBUG
+ CVC4_FALLTHROUGH;
+#endif
+ case EQUALITY_FALSE: CVC4_FALLTHROUGH;
case EQUALITY_FALSE_IN_MODEL:
// This is unlikely, but I think it could happen
Debug("arrays::sharing") << "TheoryArrays::computeCareGraph(): checkPair called when false in model" << std::endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback