Avoid using uninitalized values.

This commit is contained in:
David Hill 2014-07-12 16:35:42 -04:00
commit 6e45d68399
3 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ char *expand_emphasis(WI_ITEM_REC *item, const char *text)
continue;
if (!ishighalnum(end[-1]) || ishighalnum(end[1]) ||
end[1] == type || end[1] == '*' || end[1] == '_' ||
(type == 29 && end[1] != NULL && ishighalnum(end[2])))
(type == 29 && end[1] != '\0' && ishighalnum(end[2])))
continue;
if (IS_CHANNEL(item)) {