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;