From b7a8446e5e936b7d48e75a2b1f915bb89bbe5fb5 Mon Sep 17 00:00:00 2001 From: Jingyue Wu Date: Fri, 3 Oct 2014 22:16:40 +0000 Subject: [PATCH] Suppress defined-but-unused warnings by adding a fake use git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219029 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Sema/Lookup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/clang/Sema/Lookup.h b/include/clang/Sema/Lookup.h index e050c7ddbf..067e42210f 100644 --- a/include/clang/Sema/Lookup.h +++ b/include/clang/Sema/Lookup.h @@ -436,6 +436,7 @@ public: // If we didn't make the lookup unambiguous, restore the old // ambiguity kind. if (ResultKind == Ambiguous) { + (void)WasAmbiguous; assert(WasAmbiguous); Ambiguity = SavedAK; } else if (Paths) { -- 2.40.0