Skip to content

Commit 3f185a5

Browse files
committed
unused variable warning
1 parent 99d80fe commit 3f185a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/traced_error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ TEST_CASE("Inheriting from exception", "[traced_error]") {
3939
INFO(trace);
4040
REQUIRE(!trace.empty());
4141
REQUIRE(t.what() == "Hello world"sv);
42-
} catch (ut::TracedError const &t) {
42+
} catch (ut::TracedError const &) {
4343
FAIL("This handler should never be entered");
4444
}
4545
try {

0 commit comments

Comments
 (0)