Commit d5ac538e by Mark Adams

Fix two new Windows build warnings/errors

parent 9218759e
......@@ -1464,7 +1464,7 @@ Id Builder::createCompositeCompare(Decoration precision, Id value1, Id value2, b
Id boolType = makeBoolType();
Id valueType = getTypeId(value1);
Id resultId;
Id resultId = NoResult;
int numConstituents = getNumTypeConstituents(valueType);
......@@ -1480,6 +1480,7 @@ Id Builder::createCompositeCompare(Decoration precision, Id value1, Id value2, b
op = equal ? OpFOrdEqual : OpFOrdNotEqual;
break;
case OpTypeInt:
default:
op = equal ? OpIEqual : OpINotEqual;
break;
case OpTypeBool:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment