]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup compilation.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Sep 2011 12:43:07 +0000 (12:43 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Sep 2011 12:43:07 +0000 (12:43 +0000)
git-svn-id: file:///svn/unbound/trunk@2498 be551aaa-1e26-0410-a405-d3ace91eadb9

services/mesh.c

index 6899b4fed10e9f74bac8d1ed980bf6a1a0da6676..aee0aa5e6766e181339160b92516201190988ce9 100644 (file)
@@ -691,7 +691,10 @@ int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
                /* set detached (it is now) */
                mesh->num_detached_states++;
                /* set new query state to run */
-               n = rbtree_insert(&mesh->run, &sub->run_node);
+#ifdef UNBOUND_DEBUG
+               n =
+#endif
+               rbtree_insert(&mesh->run, &sub->run_node);
                log_assert(n != NULL);
                *newq = &sub->s;
        } else