Remove useless check. (Mike Chen)

Wed Jan 31 16:05:44 2001  Owen Taylor  <otaylor@redhat.com>

	* gtree.c (g_tree_node_search): Remove useless check.
	(Mike Chen)
This commit is contained in:
Owen Taylor 2001-01-31 21:06:27 +00:00 committed by Owen Taylor
parent 2ab0ce294d
commit bf2b2fdfca
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ g_tree_node_search (GTreeNode *node,
node = node->left;
else if (dir > 0)
node = node->right;
} while (node && (dir != 0));
} while (node);
return NULL;
}

View File

@ -649,7 +649,7 @@ g_tree_node_search (GTreeNode *node,
node = node->left;
else if (dir > 0)
node = node->right;
} while (node && (dir != 0));
} while (node);
return NULL;
}