projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5029d
)
quote: use nasm_assert() instead of plain assert()
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 15 Jul 2009 20:28:43 +0000
(16:28 -0400)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 15 Jul 2009 20:30:30 +0000
(16:30 -0400)
We have nasm_assert() now, so use it...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
quote.c
patch
|
blob
|
history
diff --git
a/quote.c
b/quote.c
index
4cf4f25
..
2cb55b1
100644
(file)
--- 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;
}