Suppress false positive from clang-analyzer

Fixes issue #1230
This commit is contained in:
Jonathan Vander Mey 2019-08-24 17:42:16 -04:00 committed by Martin Hořeňovský
parent 90825a4f7a
commit 060a41ec7b
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ namespace Catch {
{
if( !IMutableContext::currentContext )
IMutableContext::createContext();
// NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn)
return *IMutableContext::currentContext;
}