[cfe-commits] r138493 - /cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp

Anna Zaks ganna at apple.com
Wed Aug 24 14:40:11 PDT 2011


Author: zaks
Date: Wed Aug 24 16:40:10 2011
New Revision: 138493

URL: http://llvm.org/viewvc/llvm-project?rev=138493&view=rev
Log:
[analyzer] Unbreak the release buildbot.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp?rev=138493&r1=138492&r2=138493&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp Wed Aug 24 16:40:10 2011
@@ -504,8 +504,7 @@
 BugReport *MacOSKeychainAPIChecker::
   generateAllocatedDataNotReleasedReport(const AllocationPair &AP,
                                          ExplodedNode *N) const {
-  const AllocationState &AS = AP.second;
-  const ADFunctionInfo &FI = FunctionsToTrack[AS.AllocatorIdx];
+  const ADFunctionInfo &FI = FunctionsToTrack[AP.second.AllocatorIdx];
   initBugType();
   llvm::SmallString<70> sbuf;
   llvm::raw_svector_ostream os(sbuf);





More information about the cfe-commits mailing list