diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2021-02-24 16:26:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 16:26:44 -0800 |
commit | e36aeda0e759c5328ba76412dde8afbecf34970b (patch) | |
tree | 47f6795c587710c78cc558abbb3576f397c7e3b7 /src/theory/arrays | |
parent | c3e16e447aed037806f874a54ae74d6850415fd7 (diff) |
Enable -Werror. (#5969)
Diffstat (limited to 'src/theory/arrays')
-rw-r--r-- | src/theory/arrays/theory_arrays.cpp | 5 |
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; |