From 4907c6f2ed3c30db441e28cdca1d256ecf297c90 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 26 Nov 2009 07:48:44 +0000 Subject: [PATCH] Remove unused variable. llvm-svn: 89945 --- clang/lib/CodeGen/CGCXX.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/lib/CodeGen/CGCXX.cpp b/clang/lib/CodeGen/CGCXX.cpp index a0b02d53b662..a51845a52beb 100644 --- a/clang/lib/CodeGen/CGCXX.cpp +++ b/clang/lib/CodeGen/CGCXX.cpp @@ -246,7 +246,6 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE) { const MemberExpr *ME = cast(CE->getCallee()); const CXXMethodDecl *MD = cast(ME->getMemberDecl()); - const CXXRecordDecl *ClassDecl = cast(MD->getDeclContext()); if (MD->isStatic()) { // The method is static, emit it as we would a regular call.