mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
Assert target node is non-NULL.
This commit is contained in:
parent
3a35294a0e
commit
441e0dcbed
@ -2708,6 +2708,7 @@ static bool treeview_set_move_indicator(treeview *tree, bool need_redraw,
|
||||
assert(tree != NULL);
|
||||
assert(tree->root != NULL);
|
||||
assert(tree->root->children != NULL);
|
||||
assert(target != NULL);
|
||||
|
||||
if (target->flags & TREE_NODE_SELECTED) {
|
||||
/* Find top selected ancestor */
|
||||
|
Loading…
Reference in New Issue
Block a user