Module Name: src Committed By: christos Date: Sat Nov 2 17:11:39 UTC 2013
Modified Files: src/external/bsd/bind/dist/lib/dns/include/dns: rbt.h Log Message: these can never be null. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h diff -u src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h:1.6 src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h:1.7 --- src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h:1.6 Mon Jun 4 20:41:51 2012 +++ src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h Sat Nov 2 13:11:39 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rbt.h,v 1.6 2012/06/05 00:41:51 christos Exp $ */ +/* $NetBSD: rbt.h,v 1.7 2013/11/02 17:11:39 christos Exp $ */ /* * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC") @@ -927,15 +927,13 @@ dns_rbtnodechain_nextflat(dns_rbtnodecha do { \ REQUIRE((node)->references > 0); \ (node)->references++; \ - if ((refs) != NULL) \ - (*refs) = (node)->references; \ + (*refs) = (node)->references; \ } while (/*CONSTCOND*/0) #define dns_rbtnode_refdecrement(node, refs) \ do { \ REQUIRE((node)->references > 0); \ (node)->references--; \ - if ((refs) != NULL) \ - (*refs) = (node)->references; \ + (*refs) = (node)->references; \ } while (/*CONSTCOND*/0) #endif /* DNS_RBT_USEISCREFCOUNT */