From 769bc07f4199b5889a88cf092ab4713d5520ff33 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Wed, 22 Aug 2012 22:47:58 +0000 Subject: [PATCH] [analyzer] Fixup to r162399. Initialize the member variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162405 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp b/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp index 3dda6d04ca..bd75a4c7c6 100644 --- a/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp +++ b/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp @@ -725,7 +725,9 @@ class ObjCNonNilReturnValueChecker mutable bool Initialized; mutable Selector ObjectAtIndex; mutable Selector ObjectAtIndexedSubscript; + public: + ObjCNonNilReturnValueChecker() : Initialized(false) {} void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; }; } -- 2.40.0