Module: wine Branch: master Commit: 91b53147f14d0ddcaa2ca26bb81737c1648b3465 URL: https://source.winehq.org/git/wine.git/?a=commit;h=91b53147f14d0ddcaa2ca26bb...
Author: Michael Stefaniuc mstefani@winehq.org Date: Tue Mar 12 21:19:18 2019 +0100
quartz: Remove an unused return variable (coccinelle).
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/quartz/memallocator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c index 477c63a..4e366f3 100644 --- a/dlls/quartz/memallocator.c +++ b/dlls/quartz/memallocator.c @@ -196,7 +196,6 @@ static HRESULT WINAPI BaseMemAllocator_SetProperties(IMemAllocator * iface, ALLO static HRESULT WINAPI BaseMemAllocator_GetProperties(IMemAllocator * iface, ALLOCATOR_PROPERTIES *pProps) { BaseMemAllocator *This = impl_from_IMemAllocator(iface); - HRESULT hr = S_OK;
TRACE("(%p)->(%p)\n", This, pProps);
@@ -206,7 +205,7 @@ static HRESULT WINAPI BaseMemAllocator_GetProperties(IMemAllocator * iface, ALLO } LeaveCriticalSection(This->pCritSect);
- return hr; + return S_OK; }
static HRESULT WINAPI BaseMemAllocator_Commit(IMemAllocator * iface)