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:
Rob Shearman 2008-09-10 22:31:39 +01:00 committed by Alexandre Julliard
parent fb30d61c97
commit e0dd72162a
1 changed files with 1 additions and 4 deletions

View File

@ -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);