Suppress compiler warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78246 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-08-05 21:42:40 +00:00
parent 8608cf23da
commit b341577401
+3 -1
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;