IR: fix err variable in ErrOkOr instruction

This commit is contained in:
Andrew Kelley
2016-12-18 13:20:19 -05:00
parent 0cdfd5c141
commit b59841a80f
4 changed files with 2 additions and 59 deletions

View File

@@ -2191,7 +2191,6 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdIntType:
case IrInstructionIdMemberCount:
case IrInstructionIdAlignOf:
case IrInstructionIdErrUnionTypeChild:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);