diff options
| author | Jonathan Vander Mey | 2019-08-24 17:42:16 -0400 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-10-20 17:27:09 +0200 |
| commit | 060a41ec7b954cf6a556a88035f04b771680916b (patch) | |
| tree | ef39cfe89b8ad3ea277f7290875cd72fd03af243 | |
| parent | 90825a4f7aa4f537a168ce95e901933fda375f88 (diff) | |
| download | catch3-060a41ec7b954cf6a556a88035f04b771680916b.tar.gz | |
Suppress false positive from clang-analyzer
Fixes issue #1230
| -rw-r--r-- | include/internal/catch_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |