From ee705a73f6465244a4eef0e6c4f930f87c160a6a Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Mon, 23 Jan 2012 18:46:04 +0000 Subject: [PATCH] Silence warnings in -asserts build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148715 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/ELFObjectFile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Object/ELFObjectFile.cpp b/lib/Object/ELFObjectFile.cpp index 726f8043bf3..3f386175875 100644 --- a/lib/Object/ELFObjectFile.cpp +++ b/lib/Object/ELFObjectFile.cpp @@ -1675,6 +1675,9 @@ namespace llvm { bool isBinary = isa(result); bool isDyld = isa >(result); bool isFile = isa >(result); + (void)isBinary; + (void)isDyld; + (void)isFile; assert(isBinary && isDyld && isFile && "Type inquiry failed for ELF object!"); return result; @@ -1695,6 +1698,9 @@ namespace llvm { bool isBinary = isa(result); bool isDyld = isa >(result); bool isFile = isa >(result); + (void)isBinary; + (void)isDyld; + (void)isFile; assert(isBinary && isFile && !isDyld && "Type inquiry failed for ELF object!"); return result; -- 2.34.1