mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
pdh: Removed superflous NULL ptr check.
This commit is contained in:
parent
64920b5176
commit
b59153997e
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ static DWORD CALLBACK collect_query_thread( void *arg )
|
|||
if (WaitForSingleObject( stop, interval ) != WAIT_TIMEOUT) ExitThread( 0 );
|
||||
|
||||
EnterCriticalSection( &pdh_handle_cs );
|
||||
if (!query || query->magic != PDH_MAGIC_QUERY)
|
||||
if (query->magic != PDH_MAGIC_QUERY)
|
||||
{
|
||||
LeaveCriticalSection( &pdh_handle_cs );
|
||||
ExitThread( PDH_INVALID_HANDLE );
|
||||
|
|
Loading…
Reference in a new issue