On Wed, 2006-Apr-05 18:46:24 +0000, Jason Evans wrote:
>jasone      2006-04-05 18:46:24 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    lib/libc/stdlib      malloc.c 
>  Log:
>  Add an unreachable return statement, in order to avoid a compiler warning
>  for non-standard optimization levels.

This just masks the problem.  assert(0) is not guaranteed to abort the
program because you can disabled asserts using NDEBUG.

-- 
Peter Jeremy
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to