mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
Fix some "out of memory" comments and few cosmetics
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user