From e17ff8fd323e1fe7135770ebea2c443d46e95fd9 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 17 May 2017 14:43:06 +1000 Subject: [PATCH] nghttp2_session: Allow for compiling library with -DNDEBUG set --- lib/nghttp2_session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 69d61219..4bc94cbb 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -7150,6 +7150,7 @@ uint32_t nghttp2_session_get_remote_settings(nghttp2_session *session, } assert(0); + abort(); /* if NDEBUG is set */ } uint32_t nghttp2_session_get_local_settings(nghttp2_session *session, @@ -7170,6 +7171,7 @@ uint32_t nghttp2_session_get_local_settings(nghttp2_session *session, } assert(0); + abort(); /* if NDEBUG is set */ } static int nghttp2_session_upgrade_internal(nghttp2_session *session,