Blue Swirl <[email protected]> writes: > On 3/17/10, Markus Armbruster <[email protected]> wrote: >> Blue Swirl <[email protected]> writes: >> >> > On 3/17/10, Markus Armbruster <[email protected]> wrote: [...] >> >> +void monitor_set_error(Monitor *mon, QError *qerror) >> >> +{ >> >> + assert(0); >> > >> > Please use abort(). >> >> >> Why? > > Because assert(0) does not abort when compiled with -DNDEBUG.
Why is that a problem? And why isn't it a problem for the 300+ other assertions in the code?
