Fix some "out of memory" comments and few cosmetics

This commit is contained in:
Felipe Oliveira Carvalho
2014-05-31 00:49:17 -03:00
parent f4002c97dc
commit 3cb3c20b74
5 changed files with 12 additions and 15 deletions

View File

@@ -3528,8 +3528,6 @@ static char_u * iconv_string(vimconv_T *vcp, char_u *str, int slen, int *unconvl
memmove(p, result, done);
free(result);
result = p;
if (result == NULL) /* out of memory */
break;
}
to = (char *)result + done;