Commit e0dd7216 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Remove redundant code.

dispinterfaces now have a type of RPC_FC_IP instead of 0, so this code will never be reached.
parent fb30d61c
......@@ -1005,10 +1005,7 @@ static int encode_type(
add_coclass_typeinfo(typelib, type);
break;
case 0:
if (type->kind == TKIND_DISPATCH)
add_dispinterface_typeinfo(typelib, type);
else
error("encode_type: VT_USERDEFINED - can't yet add typedef's on the fly\n");
error("encode_type: VT_USERDEFINED - can't yet add typedef's on the fly\n");
break;
default:
error("encode_type: VT_USERDEFINED - unhandled type %d\n", type->type);
......
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