Skip to content

Commit

Permalink
Avoid unused parameter error
Browse files Browse the repository at this point in the history
Visual Studio cl.exe gives a warning on unused named catch arguments
  • Loading branch information
philipcraig authored Apr 29, 2018
1 parent 900b472 commit d45cea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epi_judge_cpp/test_framework/generic_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ TestResult RunTests(GenericTestHandler<Function, Comparator>& handler,
} catch (TimeoutException& e) {
result = TIMEOUT;
test_timer = e.GetTimer();
} catch (std::runtime_error& e) {
} catch (std::runtime_error&) {
throw;
} catch (std::exception& e) {
result = UNKNOWN_EXCEPTION;
Expand Down

0 comments on commit d45cea7

Please sign in to comment.