Module: wine Branch: refs/heads/master Commit: ecd3780cc02f15e9fc3f5d4b28505fc9b2caee9f URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ecd3780cc02f15e9fc3f5d4b...
Author: Robert Shearman rob@codeweavers.com Date: Wed May 17 14:45:55 2006 +0100
rpcrt4: Raise an exception if there is no default handler for a union.
---
dlls/rpcrt4/ndr_marshall.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 312af8f..67e7ab0 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -3526,12 +3526,13 @@ static PFORMAT_STRING get_arm_offset_fro { if(type == 0xffff) { - FIXME("should raise an exception here\n"); + ERR("no arm for 0x%lx and no default case\n", discriminant); + RpcRaiseException(RPC_S_INVALID_TAG); return NULL; } if(type == 0) { - /* Don't marshall any type. FIXME is this correct? */ + TRACE("falling back to empty default case for 0x%lx\n", discriminant); return NULL; } }