Commit a10cf164 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Remove an assert that is useless and triggers warnings elsewhere in static analysis tools.

parent e0d25c63
......@@ -1780,11 +1780,6 @@ static HRESULT COM_GetRegisteredClassObject(const struct apartment *apt, REFCLSI
HRESULT hr = S_FALSE;
RegisteredClass *curClass;
/*
* Sanity check
*/
assert(ppUnk!=0);
EnterCriticalSection( &csRegisteredClassList );
LIST_FOR_EACH_ENTRY(curClass, &RegisteredClassList, RegisteredClass, entry)
......
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