Sema: Remove unused variable.

llvm-svn: 179701
This commit is contained in:
Benjamin Kramer 2013-04-17 18:05:23 +00:00
parent add14263ea
commit 892cb486a4
1 changed files with 0 additions and 4 deletions

View File

@ -633,10 +633,6 @@ void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) {
unsigned NumParams = FD->getNumParams(); unsigned NumParams = FD->getNumParams();
unsigned p; unsigned p;
bool IsLambda = FD->getOverloadedOperator() == OO_Call &&
isa<CXXMethodDecl>(FD) &&
cast<CXXMethodDecl>(FD)->getParent()->isLambda();
// Find first parameter with a default argument // Find first parameter with a default argument
for (p = 0; p < NumParams; ++p) { for (p = 0; p < NumParams; ++p) {
ParmVarDecl *Param = FD->getParamDecl(p); ParmVarDecl *Param = FD->getParamDecl(p);