Commit b5915399 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

pdh: Removed superflous NULL ptr check.

parent 64920b51
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment