From: Wouter Wijngaards Date: Tue, 24 Apr 2018 15:16:16 +0000 (+0000) Subject: And assertion. X-Git-Tag: release-1.7.1rc1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c9d9fe211b2e15325b126262153d5027a35f839;p=thirdparty%2Funbound.git And assertion. git-svn-id: file:///svn/unbound/trunk@4661 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/ub_event.c b/util/ub_event.c index f3bcba678..78481a982 100644 --- a/util/ub_event.c +++ b/util/ub_event.c @@ -123,8 +123,11 @@ static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*) return my_tube_handle_signal; else if(cb == comm_base_handle_slow_accept) return my_comm_base_handle_slow_accept; - else + else { + log_assert(0); /* this NULL callback pointer should not happen, + we should have the necessary routine listed above */ return NULL; + } } #else # define NATIVE_BITS(b) (b)