widl: Remove redundant code.
dispinterfaces now have a type of RPC_FC_IP instead of 0, so this code will never be reached.
This commit is contained in:
parent
fb30d61c97
commit
e0dd72162a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue