Skip to content

Commit

Permalink
Add missing break to a switch to silence fall-through warning
Browse files Browse the repository at this point in the history
Closes #2891
  • Loading branch information
horenmar committed Jul 31, 2024
1 parent a40dd47 commit 33e24b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/catch2/catch_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ namespace Catch {
m_messages.back().message += " := ";
start = pos;
}
break;
default:; // noop
}
}
Expand Down

0 comments on commit 33e24b1

Please sign in to comment.