[gardening] Eliminate unused variable warnings from non-asserts build.

This commit is contained in:
Michael Gottesman
2017-04-24 16:08:06 -07:00
parent 2f11ae3b37
commit a89752f77a
6 changed files with 12 additions and 1 deletions

View File

@@ -436,6 +436,7 @@ static bool resolveKnownTypeWitness(NormalProtocolConformance *conformance,
if (!knownKind) return false;
auto &ctx = nominal->getASTContext();
(void)ctx;
// Local function to handle resolution via lookup directly into the nominal
// type.