From: Douglas Gregor Date: Fri, 21 Jan 2011 16:37:29 +0000 (+0000) Subject: Eliminate an unused variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0baa92292ba26aa4ff1cf202623a2c7dc7c43aaf;p=clang Eliminate an unused variable git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123978 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index ee6ce80490..f35a5b2893 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -2798,10 +2798,6 @@ FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, CXXRecordDecl *T2RecordDecl = dyn_cast(T2->getAs()->getDecl()); - QualType ToType - = AllowRvalues? DeclType->getAs()->getPointeeType() - : DeclType; - OverloadCandidateSet CandidateSet(DeclLoc); const UnresolvedSetImpl *Conversions = T2RecordDecl->getVisibleConversionFunctions();