Commit 783b5b49 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

comctl32: Remove some more useless asserts.

parent 82c41bb5
......@@ -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)
......
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