Suppress defined-but-unused warnings

by adding a fake use

llvm-svn: 219029
This commit is contained in:
Jingyue Wu 2014-10-03 22:16:40 +00:00
parent 489d1dce3f
commit 3c3b48805f
1 changed files with 1 additions and 0 deletions

View File

@ -436,6 +436,7 @@ public:
// If we didn't make the lookup unambiguous, restore the old // If we didn't make the lookup unambiguous, restore the old
// ambiguity kind. // ambiguity kind.
if (ResultKind == Ambiguous) { if (ResultKind == Ambiguous) {
(void)WasAmbiguous;
assert(WasAmbiguous); assert(WasAmbiguous);
Ambiguity = SavedAK; Ambiguity = SavedAK;
} else if (Paths) { } else if (Paths) {