mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-06 09:34:15 +03:00
Assert that root node is non-NULL.
This commit is contained in:
parent
df4975b8d4
commit
5cddb4ff3c
@ -321,6 +321,8 @@ static nserror treeview_walk_internal(treeview_node *root, bool full,
|
||||
bool skip_children = false;
|
||||
nserror err;
|
||||
|
||||
assert(root != NULL);
|
||||
|
||||
node = root;
|
||||
parent = node->parent;
|
||||
next_sibling = node->next_sib;
|
||||
|
Loading…
x
Reference in New Issue
Block a user