nghttp2_session: Allow for compiling library with -DNDEBUG set

This commit is contained in:
Angus Gratton 2017-05-17 14:43:06 +10:00 committed by Angus Gratton
parent 14edd12304
commit e17ff8fd32
1 changed files with 2 additions and 0 deletions

View File

@ -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,