diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-23 11:36:42 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-23 11:36:42 +0100 |
commit | df4975b8d4a0993ad33bf8cc62546ebfd586097a (patch) | |
tree | 78b0d622bb376b141813d1a1e7c9da6652037aa9 /desktop/treeview.c | |
parent | e5823beb61ce8b719be503a16c649f595170994f (diff) | |
download | netsurf-df4975b8d4a0993ad33bf8cc62546ebfd586097a.tar.gz netsurf-df4975b8d4a0993ad33bf8cc62546ebfd586097a.tar.bz2 |
Remove unnecessary check.
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r-- | desktop/treeview.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c index c14086da4..c14d7a851 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -225,8 +225,7 @@ static inline treeview_node * treeview_node_next(treeview_node *node, bool full) * go to next sibling if present, or nearest ancestor * with a next sibling. */ - while (node != NULL && node->parent != NULL && - node->next_sib == NULL) { + while (node->parent != NULL && node->next_sib == NULL) { node = node->parent; } |