diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-20 23:02:01 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-20 23:02:01 +0000 |
commit | 4b6e6567f778133e25ec21e98e3e7e93d2c81e6a (patch) | |
tree | 1c03448052f97eb3e159bfdb33a16022668a3634 | |
parent | 01b57e362a2c8abb18ba6139ca212e6c7f2288b0 (diff) |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111693 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 9f3ee1e202..78014a781e 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -4269,9 +4269,7 @@ BuiltinCandidateTypeSet::AddTypesConvertedFrom(QualType Ty, if (Ty->isArrayType()) Ty = SemaRef.Context.getArrayDecayedType(Ty); - if (const PointerType *PointerTy = Ty->getAs<PointerType>()) { - QualType PointeeTy = PointerTy->getPointeeType(); - + if (Ty->getAs<PointerType>()) { // Insert our type, and its more-qualified variants, into the set // of types. if (!AddPointerWithMoreQualifiedTypeVariants(Ty, VisibleQuals)) |