Remove unrequired NULL check.

This commit is contained in:
Michael Drake 2013-10-23 14:40:46 +01:00
parent e37fb89f46
commit 3dc4ba2989

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