Rob Shearman : comctl32: Remove a useless assert from TREEVIEW_GetItemIndex .
Module: wine Branch: master Commit: affe20164eb719649c51d10aefbc3b8b7eb5dd70 URL: http://source.winehq.org/git/wine.git/?a=commit;h=affe20164eb719649c51d10aef... Author: Rob Shearman <rob(a)codeweavers.com> Date: Fri Feb 15 10:05:41 2008 +0000 comctl32: Remove a useless assert from TREEVIEW_GetItemIndex. --- dlls/comctl32/treeview.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index 79f277c..89d7218 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -241,8 +241,6 @@ TREEVIEW_GetInfoPtr(HWND hwnd) static inline int TREEVIEW_GetItemIndex(const TREEVIEW_INFO *infoPtr, HTREEITEM handle) { - assert(infoPtr != NULL); - return DPA_GetPtrIndex(infoPtr->items, handle); }
participants (1)
-
Alexandre Julliard