diff --git a/include/internal/catch_context.h b/include/internal/catch_context.h index 436621f6..c579c399 100644 --- a/include/internal/catch_context.h +++ b/include/internal/catch_context.h @@ -46,6 +46,7 @@ namespace Catch { { if( !IMutableContext::currentContext ) IMutableContext::createContext(); + // NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn) return *IMutableContext::currentContext; }