Suppress compiler warning.

llvm-svn: 78246
This commit is contained in:
Daniel Dunbar 2009-08-05 21:42:40 +00:00
parent 198f5e84c6
commit 1efb6b0391
1 changed files with 3 additions and 1 deletions

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;