diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-05-12 14:18:10 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-05-19 14:50:25 -0300 |
commit | 11cae8ec58575213b4f29043a191dcdde766eb0a (patch) | |
tree | d30dfc9d1009faf8e854c1635f07ae45e1c5a875 /src/nvim/charset.c | |
parent | a2f6a53b68d73cb585dcb67ea19579d446810176 (diff) | |
download | rneovim-11cae8ec58575213b4f29043a191dcdde766eb0a.tar.gz rneovim-11cae8ec58575213b4f29043a191dcdde766eb0a.tar.bz2 rneovim-11cae8ec58575213b4f29043a191dcdde766eb0a.zip |
Remove OOM checks: backslash_halve_save()
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index 7c8284a891..ae5da557d5 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1910,6 +1910,7 @@ void backslash_halve(char_u *p) /// @return String with the number of backslashes halved. char_u* backslash_halve_save(char_u *p) { + // TODO(philix): simplify and improve backslash_halve_save algorithm char_u *res = vim_strsave(p); backslash_halve(res); return res; |