From bcd7674e06796d409aa85f77a011f701115bff17 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 7 Nov 2019 15:35:07 +0000 Subject: [PATCH] AsmWriterOperand - fix uninitialized variable warning. NFCI. --- llvm/utils/TableGen/AsmWriterInst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/TableGen/AsmWriterInst.h b/llvm/utils/TableGen/AsmWriterInst.h index 7d88e5a..a59112e 100644 --- a/llvm/utils/TableGen/AsmWriterInst.h +++ b/llvm/utils/TableGen/AsmWriterInst.h @@ -36,7 +36,7 @@ namespace llvm { /// MiOpNo - For isMachineInstrOperand, this is the operand number of the /// machine instruction. - unsigned MIOpNo; + unsigned MIOpNo = 0; /// Str - For isLiteralTextOperand, this IS the literal text. For /// isMachineInstrOperand, this is the PrinterMethodName for the operand.. -- 2.7.4