Commit 4062a4ae authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlc_thread_fatal is not needed on production builds

parent 5196c5c5
......@@ -94,6 +94,7 @@ static inline unsigned long vlc_threadid (void)
#endif
}
#ifndef NDEBUG
/*****************************************************************************
* vlc_thread_fatal: Report an error from the threading layer
*****************************************************************************
......@@ -136,7 +137,6 @@ vlc_thread_fatal (const char *action, int error,
abort ();
}
#ifndef NDEBUG
# define VLC_THREAD_ASSERT( action ) \
if (val) vlc_thread_fatal (action, val, __func__, __FILE__, __LINE__)
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment