From 013d00f094dd8c1449fc26f0259c466c50fd9c6e Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 26 May 2006 15:50:49 +0100 Subject: [PATCH] rpcrt4: Even though FC_DEREFERENCE conformance is handled elsewhere in ComputeConformanceOrVariance it is still necessary to set the count variable to the value retrieved. --- dlls/rpcrt4/ndr_marshall.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 06ce04a651f..7516edd2461 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -489,12 +489,10 @@ PFORMAT_STRING ComputeConformanceOrVariance( done_conf_grab: switch (pFormat[1]) { + case RPC_FC_DEREFERENCE: /* already handled */ case 0: /* no op */ *pCount = data; break; - case RPC_FC_DEREFERENCE: - /* already handled */ - break; case RPC_FC_ADD_1: *pCount = data + 1; break;