]> granicus.if.org Git - clang/commitdiff
Remove unused variable.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 26 Nov 2009 07:48:44 +0000 (07:48 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 26 Nov 2009 07:48:44 +0000 (07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89945 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCXX.cpp

index a0b02d53b6623a35a46d6d7c1001ab73fbb6c4ed..a51845a52beb956ae3d706fcbb352a0ccf81b878 100644 (file)
@@ -246,7 +246,6 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE) {
       
   const MemberExpr *ME = cast<MemberExpr>(CE->getCallee());
   const CXXMethodDecl *MD = cast<CXXMethodDecl>(ME->getMemberDecl());
-  const CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(MD->getDeclContext());
 
   if (MD->isStatic()) {
     // The method is static, emit it as we would a regular call.