Commit 26bd6a31 by John Kessenich

Merge pull request #155 from mgadams/resultid_warnings

Build: Fix two new Windows build warnings/errors
parents fd8a3827 d5ac538e
......@@ -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