Remove unrequired NULL check.

This commit is contained in:
Michael Drake 2013-10-23 14:40:46 +01:00
parent e37fb89f46
commit 3dc4ba2989
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}