mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:03:37 +00:00
d2d1: Remove unnecessary return statements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d0257e0b72
commit
0aa6a78f7d
|
@ -639,7 +639,7 @@ static void STDMETHODCALLTYPE d2d_factory_mt_Enter(ID2D1Multithread *iface)
|
|||
|
||||
TRACE("%p.\n", iface);
|
||||
|
||||
return EnterCriticalSection(&factory->cs);
|
||||
EnterCriticalSection(&factory->cs);
|
||||
}
|
||||
|
||||
static void STDMETHODCALLTYPE d2d_factory_mt_Leave(ID2D1Multithread *iface)
|
||||
|
@ -648,7 +648,7 @@ static void STDMETHODCALLTYPE d2d_factory_mt_Leave(ID2D1Multithread *iface)
|
|||
|
||||
TRACE("%p.\n", iface);
|
||||
|
||||
return LeaveCriticalSection(&factory->cs);
|
||||
LeaveCriticalSection(&factory->cs);
|
||||
}
|
||||
|
||||
static BOOL STDMETHODCALLTYPE d2d_factory_st_GetMultithreadProtected(ID2D1Multithread *iface)
|
||||
|
|
Loading…
Reference in a new issue