From: Wouter Wijngaards Date: Tue, 19 Sep 2017 09:15:59 +0000 (+0000) Subject: assert and lint. X-Git-Tag: release-1.6.7rc1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3264fa8a6f938940a69396c182fb8d4da2cbdf1f;p=thirdparty%2Funbound.git assert and lint. git-svn-id: file:///svn/unbound/trunk@4354 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/services/mesh.c b/services/mesh.c index 5cf7daeff..8835e9d62 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -605,7 +605,13 @@ static void mesh_schedule_prefetch(struct mesh_area* mesh, } if(!run) { +#ifdef UNBOUND_DEBUG + n = +#else + (void) +#endif rbtree_insert(&mesh->run, &s->run_node); + log_assert(n != NULL); return; }