Module: wine Branch: master Commit: 783b5b49a228a7bdb93a67a064e5fafbd21d72cf URL: http://source.winehq.org/git/wine.git/?a=commit;h=783b5b49a228a7bdb93a67a064...
Author: Rob Shearman rob@codeweavers.com Date: Fri Feb 15 10:06:04 2008 +0000
comctl32: Remove some more useless asserts.
---
dlls/comctl32/treeview.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index bff38f6..5650c46 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -405,8 +405,6 @@ TREEVIEW_GetPrevListItem(const TREEVIEW_INFO *infoPtr, const TREEVIEW_ITEM *tvIt static TREEVIEW_ITEM * TREEVIEW_GetNextListItem(const TREEVIEW_INFO *infoPtr, const TREEVIEW_ITEM *tvItem) { - assert(tvItem != NULL); - /* * If this item has children and is expanded, return the first child */ @@ -1047,7 +1045,6 @@ static void TREEVIEW_InsertBefore(TREEVIEW_ITEM *newItem, TREEVIEW_ITEM *sibling, TREEVIEW_ITEM *parent) { - assert(newItem != NULL); assert(parent != NULL);
if (sibling != NULL) @@ -1080,7 +1077,6 @@ static void TREEVIEW_InsertAfter(TREEVIEW_ITEM *newItem, TREEVIEW_ITEM *sibling, TREEVIEW_ITEM *parent) { - assert(newItem != NULL); assert(parent != NULL);
if (sibling != NULL)