Commit 27ae234b authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent a35431a1
...@@ -2584,8 +2584,6 @@ static unsigned long EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg, ...@@ -2584,8 +2584,6 @@ static unsigned long EmbeddedComplexSize(MIDL_STUB_MESSAGE *pStubMsg,
return sizeof(double); return sizeof(double);
case RPC_FC_HYPER: case RPC_FC_HYPER:
return sizeof(ULONGLONG); return sizeof(ULONGLONG);
case RPC_FC_ERROR_STATUS_T:
return sizeof(error_status_t);
case RPC_FC_ENUM16: case RPC_FC_ENUM16:
return sizeof(UINT); return sizeof(UINT);
default: default:
......
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