Sema: Fix two unused variable warnings

This commit is contained in:
Slava Pestov
2018-08-06 22:51:21 -07:00
parent 8f36061f25
commit 528c632f8d
2 changed files with 1 additions and 4 deletions

View File

@@ -6276,9 +6276,6 @@ void ExprRewriter::peepholeDictionaryUpcast(DictionaryExpr *expr,
// the expr type as well.
expr->setType(toType);
ConstraintLocatorBuilder keyLocator =
locator.withPathElement(
ConstraintLocator::PathElement::getGenericArgument(0));
ConstraintLocatorBuilder valueLocator =
locator.withPathElement(
ConstraintLocator::PathElement::getGenericArgument(1));