From 15d52830ee1c010c8e7c21faeeb1c4ad8e772435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 5 Jul 2026 11:30:11 +0200 Subject: [PATCH] Fix -Wunused-parameter warning with exceptions disabled Closes #3114 --- src/catch2/catch_translate_exception.hpp | 2 ++ 1 file changed, 2 insertions(+) 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 }