]> granicus.if.org Git - clang/commitdiff
no need to cast.
authorZhongxing Xu <xuzhongxing@gmail.com>
Fri, 20 Nov 2009 06:14:56 +0000 (06:14 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Fri, 20 Nov 2009 06:14:56 +0000 (06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89451 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRCoreEngine.h

index 02e0b0275e4e0202d9f1b7eca1182f343b6841d1..870de82bd85c57dc49870098f87d93546813caa2 100644 (file)
@@ -215,7 +215,7 @@ public:
   void setAuditor(GRAuditor* A) { Auditor = A; }
 
   const GRState* GetState(ExplodedNode* Pred) const {
-    if ((ExplodedNode*) Pred == getBasePredecessor())
+    if (Pred == getBasePredecessor())
       return CleanedState;
     else
       return Pred->getState();