From 552a43b2977493c2e5daf5331fba90ed966d9c8e Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 26 Nov 2009 07:48:44 +0000 Subject: [PATCH] Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89945 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGCXX.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp index a0b02d53b6..a51845a52b 100644 --- a/lib/CodeGen/CGCXX.cpp +++ b/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. -- 2.40.0