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

This commit is contained in:
Rob Shearman 2008-02-13 12:35:00 +00:00 committed by Alexandre Julliard
parent e0d25c6394
commit a10cf16449

View file

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