Rob Shearman : ole32: Remove an assert that is useless and triggers warnings elsewhere in static analysis tools .
Alexandre Julliard
julliard at winehq.org
Wed Feb 13 10:40:09 CST 2008
Module: wine
Branch: master
Commit: a10cf1644987b58aa4c9edc8322634ca5c25cfe4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a10cf1644987b58aa4c9edc8322634ca5c25cfe4
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Feb 13 12:35:00 2008 +0000
ole32: Remove an assert that is useless and triggers warnings elsewhere in static analysis tools.
---
dlls/ole32/compobj.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 73bd0f3..55b9125 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -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)
More information about the wine-cvs
mailing list