Nikolay Sivov : d2d1: Remove unnecessary return statements.
Alexandre Julliard
julliard at winehq.org
Tue Apr 13 16:31:21 CDT 2021
Module: wine
Branch: master
Commit: 0aa6a78f7d3cabeda9e933903dbcc5cd6c6eb460
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0aa6a78f7d3cabeda9e933903dbcc5cd6c6eb460
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Apr 12 17:23:05 2021 +0300
d2d1: Remove unnecessary return statements.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d2d1/factory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index b65727d3a32..5f081a1c12d 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -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)
More information about the wine-cvs
mailing list