From 27ae234b04d2d9617bcbc0e3d900b394ccbba349 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Sun, 17 Aug 2008 18:33:42 +0100 Subject: [PATCH] rpcrt4: Remove unreachable code in EmbeddedComplexSize. RPC_FC_ERROR_STATUS_T has a value of 0x10 and therefore isn't a possible value of "flags_type & 0xf" in the switch statement. --- dlls/rpcrt4/ndr_marshall.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 4f5506c9f41..bda04be31f4 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -2584,8 +2584,6 @@ static unsigned long EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg, return sizeof(double); case RPC_FC_HYPER: return sizeof(ULONGLONG); - case RPC_FC_ERROR_STATUS_T: - return sizeof(error_status_t); case RPC_FC_ENUM16: return sizeof(UINT); default: