Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-07-31 17:33:53 +0200
committerMartin Hořeňovský2024-07-31 17:38:02 +0200
commit33e24b14fcf95c1c31c8d6b68f445ebb12e026cc (patch)
tree07aafe3e4e8b3aed98435713d9797f3dabc099e9
parenta40dd478f33e04964007ae5330e248b8eda175de (diff)
downloadcatch3-33e24b14fcf95c1c31c8d6b68f445ebb12e026cc.tar.gz
Add missing break to a switch to silence fall-through warning
Closes #2891
-rw-r--r--src/catch2/catch_message.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/catch2/catch_message.cpp b/src/catch2/catch_message.cpp
index 4b223d96..7b09ab87 100644
--- a/src/catch2/catch_message.cpp
+++ b/src/catch2/catch_message.cpp
@@ -91,6 +91,7 @@ namespace Catch {
m_messages.back().message += " := ";
start = pos;
}
+ break;
default:; // noop
}
}