mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 23:58:53 -04:00
removed pointless code (an if statement checking something that had been
INSISTed on the previous line).
This commit is contained in:
parent
f565623991
commit
d752e5c19e
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue