From: JINMEI Tatuya Date: Wed, 25 Jul 2012 17:32:23 +0000 (-0700) Subject: [2091b] removed an essentially-redundant assertion check. X-Git-Tag: trac2351_base~158^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4efa02baeae2f5ce719a8dd2db1a6da1f512b4;p=thirdparty%2Fkea.git [2091b] removed an essentially-redundant assertion check. --- diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h index ab6523bb8c..0d8f4ca593 100644 --- a/src/lib/datasrc/rbtree.h +++ b/src/lib/datasrc/rbtree.h @@ -213,7 +213,6 @@ public: /// simplest form of wrapper; it's not efficient, but should be replaced /// before we need to worry about that. const isc::dns::Name getName() const { - assert(labels_capacity_ != 0); // shouldn't be called on a NULL node. return (dns::Name(dns::LabelSequence(getLabelsData()).toText())); }