diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index b04c4942338..cd07c297390 100644 --- a/dlls/rpcrt4/cstub.c +++ b/dlls/rpcrt4/cstub.c @@ -595,7 +595,5 @@ void WINAPI NdrStubGetBuffer(LPRPCSTUBBUFFER iface, return; } - pStubMsg->BufferStart = pStubMsg->RpcMsg->Buffer; - pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength; - pStubMsg->Buffer = pStubMsg->BufferStart; + pStubMsg->Buffer = pStubMsg->RpcMsg->Buffer; }