From: NAKAMURA Takumi Date: Mon, 21 Jan 2013 14:15:24 +0000 (+0000) Subject: AST/VTableBuilder.h: Suppress a warning. [-Wunused-private-field] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6de6aab8248ef67d3a65018d4ad26f51ac35b3d3;p=clang AST/VTableBuilder.h: Suppress a warning. [-Wunused-private-field] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173041 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/VTableBuilder.h b/include/clang/AST/VTableBuilder.h index ac71441aed..bcbe8754ea 100644 --- a/include/clang/AST/VTableBuilder.h +++ b/include/clang/AST/VTableBuilder.h @@ -256,6 +256,7 @@ public: uint64_t AddressPoint = AddressPoints.lookup(Base); assert(AddressPoint != 0 || IsMicrosoftABI); + (void)IsMicrosoftABI; return AddressPoint; }