On Fri, Oct 31, 2003 at 03:24:10PM +0000, Angus Leeming wrote:

> If I were to compile this function with -DNDEBUG, I'd get a compiler 
> warning about 'control reaches the end of a non-void function'. It 
> seems ugly to shove a 'return arbitrary_value;' after the assert. Is 
> there Another Way?

There's no other way without adding an assert_fail() or somesuch that
has attribute__((noreturn)) on it ...

john
-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.

Reply via email to