Commit d752e5c1 authored by Brian Wellington's avatar Brian Wellington
Browse files

removed pointless code (an if statement checking something that had been

INSISTed on the previous line).
parent f5656239
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rbt.c,v 1.106 2001/02/21 23:21:28 bwelling Exp $ */
/* $Id: rbt.c,v 1.107 2001/02/28 20:20:18 bwelling Exp $ */
/* Principal Authors: DCL */
......@@ -1685,9 +1685,6 @@ unhash_node(dns_rbt_t *rbt, dns_rbtnode_t *node) {
else {
while (HASHNEXT(bucket_node) != node) {
INSIST(HASHNEXT(bucket_node) != NULL);
if (HASHNEXT(bucket_node) == NULL)
break;
bucket_node = HASHNEXT(bucket_node);
}
HASHNEXT(bucket_node) = HASHNEXT(node);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment