[cfe-commits] r89945 - /cfe/trunk/lib/CodeGen/CGCXX.cpp

Eli Friedman eli.friedman at gmail.com
Wed Nov 25 23:48:45 PST 2009


Author: efriedma
Date: Thu Nov 26 01:48:44 2009
New Revision: 89945

URL: http://llvm.org/viewvc/llvm-project?rev=89945&view=rev
Log:
Remove unused variable.


Modified:
    cfe/trunk/lib/CodeGen/CGCXX.cpp

Modified: cfe/trunk/lib/CodeGen/CGCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCXX.cpp?rev=89945&r1=89944&r2=89945&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCXX.cpp Thu Nov 26 01:48:44 2009
@@ -246,7 +246,6 @@
       
   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.





More information about the cfe-commits mailing list