]> granicus.if.org Git - clang/commitdiff
Remove bonehead redeclaration.
authorTed Kremenek <kremenek@apple.com>
Thu, 5 Aug 2010 00:03:46 +0000 (00:03 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 5 Aug 2010 00:03:46 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFGStmtMap.cpp

index 88c90cd50d60a048ddbc8846873b44a666f2dfc6..deca741440eda65966a343c971108bf6e64c0056 100644 (file)
@@ -40,7 +40,7 @@ CFGBlock *CFGStmtMap::getBlock(Stmt *S) {
       return B;
     }
 
-    Stmt *X = PM->getParentIgnoreParens(X);
+    X = PM->getParentIgnoreParens(X);
   }
   
   return 0;