[NFC] Silence a bunch of Wunused-variable diagnostics

This commit is contained in:
Robert Widmann
2018-08-24 15:16:40 -07:00
parent e4388af6be
commit 014fd952ef
21 changed files with 35 additions and 35 deletions

View File

@@ -1460,7 +1460,7 @@ static void tryOptimizeGenericDisjunction(ConstraintSystem &cs,
auto funcType = AFD->getInterfaceType();
auto hasAnyOrOptional = funcType.findIf([](Type type) -> bool {
if (auto objType = type->getOptionalObjectType())
if (type->getOptionalObjectType())
return true;
return type->isAny();