]> granicus.if.org Git - clang/commitdiff
[analyzer] Fixup to r162399. Initialize the member variable.
authorAnna Zaks <ganna@apple.com>
Wed, 22 Aug 2012 22:47:58 +0000 (22:47 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 22 Aug 2012 22:47:58 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162405 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp

index 3dda6d04ca730131e4c721d41e457918f050bfd1..bd75a4c7c6bcfcc3e89cf42e77e353b55441697f 100644 (file)
@@ -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;
 };
 }