diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-11-26 07:48:44 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-11-26 07:48:44 +0000 |
commit | 4907c6f2ed3c30db441e28cdca1d256ecf297c90 (patch) | |
tree | caf3ff4d1d194305431848236b9ddcf557e0573b /clang/lib/CodeGen/CGCXX.cpp | |
parent | ffc066f4b9f60cff4c4393d7e838a10b26fb48ff (diff) | |
download | bcm5719-llvm-4907c6f2ed3c30db441e28cdca1d256ecf297c90.tar.gz bcm5719-llvm-4907c6f2ed3c30db441e28cdca1d256ecf297c90.zip |
Remove unused variable.
llvm-svn: 89945
Diffstat (limited to 'clang/lib/CodeGen/CGCXX.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCXX.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCXX.cpp b/clang/lib/CodeGen/CGCXX.cpp index a0b02d53b66..a51845a52be 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<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. |