Merge pull request #919 from projectgus/fix_ndebug_compile

nghttp2_session: Allow for compiling library with -DNDEBUG set
This commit is contained in:
Tatsuhiro Tsujikawa 2017-05-18 22:37:51 +09:00 committed by GitHub
commit 2bf3680d87
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,