]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2091b] removed an essentially-redundant assertion check.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 25 Jul 2012 17:32:23 +0000 (10:32 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 25 Jul 2012 17:32:23 +0000 (10:32 -0700)
src/lib/datasrc/rbtree.h

index ab6523bb8c741f34e6a498365a4f608576c89223..0d8f4ca593e6dbf8cc59e86c757e2e93b03647ca 100644 (file)
@@ -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()));
     }