Gerald Pfeifer : rpcrt4: Remove variable hr which is not really used from NdrInterfacePointerBufferSize .
Alexandre Julliard
julliard at winehq.org
Mon May 17 09:39:27 CDT 2010
Module: wine
Branch: master
Commit: 2f4c5cf351bc26a7ce755e8a4846f3bc39b1d143
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2f4c5cf351bc26a7ce755e8a4846f3bc39b1d143
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri May 14 22:06:47 2010 +0200
rpcrt4: Remove variable hr which is not really used from NdrInterfacePointerBufferSize.
---
dlls/rpcrt4/ndr_ole.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/rpcrt4/ndr_ole.c b/dlls/rpcrt4/ndr_ole.c
index a4c23c2..090be05 100644
--- a/dlls/rpcrt4/ndr_ole.c
+++ b/dlls/rpcrt4/ndr_ole.c
@@ -309,13 +309,12 @@ void WINAPI NdrInterfacePointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
{
const IID *riid = get_ip_iid(pStubMsg, pMemory, pFormat);
ULONG size = 0;
- HRESULT hr;
TRACE("(%p,%p,%p)\n", pStubMsg, pMemory, pFormat);
if (!LoadCOM()) return;
- hr = COM_GetMarshalSizeMax(&size, riid, (LPUNKNOWN)pMemory,
- pStubMsg->dwDestContext, pStubMsg->pvDestContext,
- MSHLFLAGS_NORMAL);
+ COM_GetMarshalSizeMax(&size, riid, (LPUNKNOWN)pMemory,
+ pStubMsg->dwDestContext, pStubMsg->pvDestContext,
+ MSHLFLAGS_NORMAL);
TRACE("size=%d\n", size);
pStubMsg->BufferLength += sizeof(DWORD) + size;
}
More information about the wine-cvs
mailing list