macro: Abort() when pa_assert_not_reached() even for NDEBUG

fixes many warnings when compiling with NDEBUG, such as
  CC       pulse/libpulse_la-channelmap.lo
pulse/channelmap.c: In function 'pa_channel_map_init_auto':
pulse/channelmap.c:397:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
Peter Meerwald 2014-11-09 16:45:32 +01:00 committed by Peter Meerwald
parent 64f3b5711b
commit 094de7f024

View file

@ -231,7 +231,7 @@ static inline size_t PA_PAGE_ALIGN(size_t l) {
#endif
#ifdef NDEBUG
#define pa_assert_not_reached() pa_nop()
#define pa_assert_not_reached() abort()
#else
#define pa_assert_not_reached() \
do { \