From: Fariborz Jahanian Date: Fri, 20 Aug 2010 21:45:03 +0000 (+0000) Subject: Rmove dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a266ebc09b2b7e097341791b7ffe9d0a09a474a2;p=clang Rmove dead code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111680 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 30979b78d3..9f3ee1e202 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -3996,9 +3996,6 @@ void Sema::AddMemberOperatorCandidates(OverloadedOperatorKind Op, // candidates, non-member candidates and built-in candidates, are // constructed as follows: QualType T1 = Args[0]->getType(); - QualType T2; - if (NumArgs > 1) - T2 = Args[1]->getType(); // -- If T1 is a class type, the set of member candidates is the // result of the qualified lookup of T1::operator@