pdh: Removed superflous NULL ptr check.

This commit is contained in:
Marcus Meissner 2007-10-02 11:32:37 +02:00 committed by Alexandre Julliard
parent 64920b5176
commit b59153997e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );