mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Remove unrequired NULL check.
This commit is contained in:
parent
e37fb89f46
commit
3dc4ba2989
@ -232,7 +232,7 @@ static inline treeview_node * treeview_node_next(treeview_node *node, bool full)
|
||||
if (node->type == TREE_NODE_ROOT) {
|
||||
node = NULL;
|
||||
|
||||
} else if (node != NULL) {
|
||||
} else {
|
||||
node = node->next_sib;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user