summaryrefslogtreecommitdiff
path: root/src/preprocessing
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/preprocessing
parentc3e16e447aed037806f874a54ae74d6850415fd7 (diff)
Enable -Werror. (#5969)
Diffstat (limited to 'src/preprocessing')
-rw-r--r--src/preprocessing/passes/bv_to_int.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/preprocessing/passes/bv_to_int.cpp b/src/preprocessing/passes/bv_to_int.cpp
index f5d840a49..4712db91f 100644
--- a/src/preprocessing/passes/bv_to_int.cpp
+++ b/src/preprocessing/passes/bv_to_int.cpp
@@ -691,6 +691,9 @@ Node BVToInt::translateWithChildren(Node original,
{
// Exists is eliminated by the rewriter.
Assert(false);
+#ifdef NDEBUG
+ CVC4_FALLTHROUGH;
+#endif
}
default:
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback