diff options
| author | Martin Hořeňovský | 2026-07-05 11:30:11 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-07-05 12:08:06 +0200 |
| commit | 15d52830ee1c010c8e7c21faeeb1c4ad8e772435 (patch) | |
| tree | e49f3ce3913678ab1f48c62a1b90c4d75cfa3b3f /src | |
| parent | 9ec44dd62b1b593e01feaf95eb485d26fcdd50ce (diff) | |
| download | catch3-15d52830ee1c010c8e7c21faeeb1c4ad8e772435.tar.gz | |
Fix -Wunused-parameter warning with exceptions disabled
Closes #3114
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_translate_exception.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/catch2/catch_translate_exception.hpp b/src/catch2/catch_translate_exception.hpp index a1f3faa5..8df15d21 100644 --- a/src/catch2/catch_translate_exception.hpp +++ b/src/catch2/catch_translate_exception.hpp @@ -41,6 +41,8 @@ namespace Catch { return m_translateFunction( ex ); } #else + (void)it; + (void)itEnd; return "You should never get here!"; #endif } |