assert and lint.

git-svn-id: file:///svn/unbound/trunk@4354 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-09-19 09:15:59 +00:00
parent 55d8fe2837
commit 3264fa8a6f

View File

@ -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;
}