dpnet: Fix initialisation of This pointer (Coverity).

This commit is contained in:
Kai Blin 2008-09-10 16:35:04 +02:00 committed by Alexandre Julliard
parent 9ee160cf55
commit 0214ee8ee8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ static ULONG WINAPI IDirectPlay8ThreadPoolImpl_AddRef(PDIRECTPLAY8THREADPOOL ifa
static ULONG WINAPI IDirectPlay8ThreadPoolImpl_Release(PDIRECTPLAY8THREADPOOL iface) static ULONG WINAPI IDirectPlay8ThreadPoolImpl_Release(PDIRECTPLAY8THREADPOOL iface)
{ {
IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)This; IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)iface;
ULONG RefCount = InterlockedDecrement(&This->ref); ULONG RefCount = InterlockedDecrement(&This->ref);
if(!RefCount) if(!RefCount)