From: Benjamin Kramer Date: Wed, 17 Apr 2013 18:05:23 +0000 (+0000) Subject: Sema: Remove unused variable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82b0f86252c050b43f2e5d5425d6e37970aabd7c;p=clang Sema: Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179701 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp index d2051b52e8..fd3489fd53 100644 --- a/lib/Sema/SemaDeclCXX.cpp +++ b/lib/Sema/SemaDeclCXX.cpp @@ -633,10 +633,6 @@ void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) { unsigned NumParams = FD->getNumParams(); unsigned p; - bool IsLambda = FD->getOverloadedOperator() == OO_Call && - isa(FD) && - cast(FD)->getParent()->isLambda(); - // Find first parameter with a default argument for (p = 0; p < NumParams; ++p) { ParmVarDecl *Param = FD->getParamDecl(p);