2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

style fluff: "if (parent != NULL)" not "if (parent)"

This commit is contained in:
David Lawrence
1999-10-31 15:25:11 +00:00
parent 4344875f60
commit 0262a14d94

View File

@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: rbt.c,v 1.65 1999/10/25 17:01:30 marka Exp $ */ /* $Id: rbt.c,v 1.66 1999/10/31 15:25:11 tale Exp $ */
/* Principal Authors: DCL */ /* Principal Authors: DCL */
@@ -1607,7 +1607,7 @@ dns_rbt_deletefromlevel(dns_rbt_t *rbt, dns_rbtnode_t *delete,
chain->ancestors[depth] = successor; chain->ancestors[depth] = successor;
parent = chain->ancestors[depth - 1]; parent = chain->ancestors[depth - 1];
if (parent) { if (parent != NULL) {
if (LEFT(parent) == delete) if (LEFT(parent) == delete)
LEFT(parent) = successor; LEFT(parent) = successor;
else else