fix compilation with --enable-debug

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-16 12:17:23 +00:00
parent e6a55fa1e5
commit a9a3f4f599
2 changed files with 2 additions and 2 deletions

View File

@ -775,7 +775,7 @@ bool has_blank_chars(const char *s)
* multibyte characters, and FALSE otherwise. */
bool has_blank_mbchars(const char *s)
{
assert(str != NULL);
assert(s != NULL);
#ifdef NANO_WIDE
if (ISSET(USE_UTF8)) {

View File

@ -2643,7 +2643,7 @@ void justify_format(filestruct *paragraph, size_t skip)
assert(paragraph != NULL);
assert(paragraph->data != NULL);
assert(skip < strlen(paragraph->data));
assert(!is_blank_char(paragraph->data[skip]));
assert(!isblank(paragraph->data[skip]));
end = paragraph->data + skip;
new_paragraph_data = charalloc(strlen(paragraph->data) + 1);