]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
trie_parent is used with fr_cond_assert
authorAlan T. DeKok <aland@freeradius.org>
Sun, 22 Jul 2018 19:18:30 +0000 (15:18 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 22 Jul 2018 19:18:30 +0000 (15:18 -0400)
src/lib/util/trie.c

index fb991754044d4f347ad1ff83dd9db8d7508c54c2..36c855ecf353e99281b06136c9c2375ecf279b56 100644 (file)
@@ -255,7 +255,6 @@ static fr_trie_node_t *fr_trie_node_alloc(fr_trie_t *ft, TALLOC_CTX *ctx, int si
 
 
 #ifdef WITH_TRIE_VERIFY
-#ifndef NDEBUG
 static void *trie_parent(void *trie)
 {
        /*
@@ -275,7 +274,6 @@ static void *trie_parent(void *trie)
        fr_cond_assert(IS_NODE(trie));
        return talloc_parent(trie);
 }
-#endif
 
 /** Verifies that a node is correct, without recursion
  *