mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
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:
parent
64f3b5711b
commit
094de7f024
1 changed files with 1 additions and 1 deletions
|
|
@ -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 { \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue