1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Suppress compiler warning.

llvm-svn: 78246
This commit is contained in:
Daniel Dunbar 2009-08-05 21:42:40 +00:00
parent 7cc0d1906c
commit abc51fe31b

View File

@ -728,7 +728,9 @@ void AsmWriterEmitter::run(raw_ostream &O) {
<< " if (Bits == 0) return false;\n"
<< " O << AsmStrs+(Bits & " << (1 << AsmStrBits)-1 << ");\n\n";
O << " unsigned OperandColumn = 1;\n\n";
// This variable may be unused, suppress build warnings.
O << " unsigned OperandColumn = 1;\n";
O << " (void) OperandColumn;\n\n";
// Output the table driven operand information.
BitsLeft = 32-AsmStrBits;