Fix uninitialized variable warning. NFCI.

This also fixes a scan-build "array subscript is undefined" warning.

llvm-svn: 360128
This commit is contained in:
Simon Pilgrim
2019-05-07 10:30:22 +00:00
parent d18bac5d19
commit c5ac14eef8

View File

@@ -5316,7 +5316,7 @@ SDValue PPCDAGToDAGISel::combineToCMPB(SDNode *N) {
SDValue V = Queue.pop_back_val();
for (const SDValue &O : V.getNode()->ops()) {
unsigned b;
unsigned b = 0;
uint64_t M = 0, A = 0;
SDValue OLHS, ORHS;
if (O.getOpcode() == ISD::OR) {