[sheepdog] [PATCH] compile with -DNDEBUG by default

Liu Yuan namei.unix at gmail.com
Wed May 22 10:20:00 CEST 2013


On 05/22/2013 03:16 PM, MORITA Kazutaka wrote:
> assert() is used to confirm code's correctness and it's no problem to
> remove it for a release build.
> 
> This also replaces assert() in cluster/local.c with if/panic() because
> it abuses assert() for error checking.

Applied, thanks.

Yuan


More information about the sheepdog mailing list