mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Fix two unused variable warnings
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user