mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 16:45:24 +00:00
removed pointless code (an if statement checking something that had been
INSISTed on the previous line).
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/* Principal Authors: DCL */
|
||||||
|
|
||||||
@@ -1685,9 +1685,6 @@ unhash_node(dns_rbt_t *rbt, dns_rbtnode_t *node) {
|
|||||||
else {
|
else {
|
||||||
while (HASHNEXT(bucket_node) != node) {
|
while (HASHNEXT(bucket_node) != node) {
|
||||||
INSIST(HASHNEXT(bucket_node) != NULL);
|
INSIST(HASHNEXT(bucket_node) != NULL);
|
||||||
if (HASHNEXT(bucket_node) == NULL)
|
|
||||||
break;
|
|
||||||
|
|
||||||
bucket_node = HASHNEXT(bucket_node);
|
bucket_node = HASHNEXT(bucket_node);
|
||||||
}
|
}
|
||||||
HASHNEXT(bucket_node) = HASHNEXT(node);
|
HASHNEXT(bucket_node) = HASHNEXT(node);
|
||||||
|
Reference in New Issue
Block a user