From: H. P. A. <hp...@zy...> - 2009-07-15 20:33:47
|
Date: Wed, 15 Jul 2009 16:28:43 -0400 We have nasm_assert() now, so use it... Signed-off-by: H. Peter Anvin <hp...@zy...> --- quote.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/quote.c b/quote.c index 4cf4f25..2cb55b1 100644 --- a/quote.c +++ b/quote.c @@ -37,7 +37,6 @@ #include "compiler.h" -#include <assert.h> #include <stdlib.h> #include "nasmlib.h" @@ -177,7 +176,7 @@ char *nasm_quote(char *str, size_t len) } *q++ = '`'; *q++ = '\0'; - assert((size_t)(q-nstr) == qlen+3); + nasm_assert((size_t)(q-nstr) == qlen+3); } return nstr; } -- 1.6.3.3 |