Merge pull request #919 from projectgus/fix_ndebug_compile
nghttp2_session: Allow for compiling library with -DNDEBUG set
This commit is contained in:
commit
2bf3680d87
|
@ -7150,6 +7150,7 @@ uint32_t nghttp2_session_get_remote_settings(nghttp2_session *session,
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(0);
|
assert(0);
|
||||||
|
abort(); /* if NDEBUG is set */
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t nghttp2_session_get_local_settings(nghttp2_session *session,
|
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);
|
assert(0);
|
||||||
|
abort(); /* if NDEBUG is set */
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nghttp2_session_upgrade_internal(nghttp2_session *session,
|
static int nghttp2_session_upgrade_internal(nghttp2_session *session,
|
||||||
|
|
Loading…
Reference in New Issue