From d59894002d58f11c3295e26ed011965898c1ba6e Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Wed, 15 Dec 2010 22:21:20 +0000 Subject: [PATCH] Fix opt -Werror build llvm-svn: 121904 --- lib/MC/MCStreamer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp index fc7a7547561..9b3f379e2aa 100644 --- a/lib/MC/MCStreamer.cpp +++ b/lib/MC/MCStreamer.cpp @@ -49,6 +49,7 @@ void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size, unsigned AddrSpace) { assert(Size <= 8 && "Invalid size"); unsigned Bits = 8 * Size; + (void)Bits; assert((isUIntN(Bits, Value) || isIntN(Bits, Value)) && "Invalid size"); char buf[8]; // FIXME: Endianness assumption.