Suppress false positive from clang-analyzer

Fixes issue #1230
This commit is contained in:
Jonathan Vander Mey authored and Martin Hořeňovský committed 2019-10-20 17:27:09 +02:00
1 parent 90825a4f7a
commit 060a41ec7b
1 file changed
+1
+1
View File
@@ -46,6 +46,7 @@ namespace Catch {
{
if( !IMutableContext::currentContext )
IMutableContext::createContext();
// NOLINTNEXTLINE(clang-analyzer-core.uninitialized.UndefReturn)
return *IMutableContext::currentContext;
}