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 }