diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-23 14:13:16 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 01:33:31 +0100 |
commit | 2ad0ca9c76567ec573e023af03c13f8d519fba5b (patch) | |
tree | b8cb32a48bbebbffcefb492c6bc47a3edce1f529 /src/nvim/charset.c | |
parent | 6425627c3fe1d4c0a88b7309f248f57490b874fd (diff) | |
download | rneovim-2ad0ca9c76567ec573e023af03c13f8d519fba5b.tar.gz rneovim-2ad0ca9c76567ec573e023af03c13f8d519fba5b.tar.bz2 rneovim-2ad0ca9c76567ec573e023af03c13f8d519fba5b.zip |
Remove nonnullret deadcode: Mark new nonnullret functions.
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index 86d6acc60b..6fb5ebf3e4 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -390,19 +390,13 @@ char_u *transstr(char_u *s) FUNC_ATTR_NONNULL_RET return res; } -/// Convert the string "str[orglen]" to do ignore-case comparing. Uses the -/// current locale. +/// Convert the string "str[orglen]" to do ignore-case comparing. +/// Use the current locale. /// -/// When "buf" is NULL returns an allocated string (NULL for out-of-memory). -/// Otherwise puts the result in "buf[buflen]". -/// -/// @param str -/// @param orglen -/// @param buf -/// @param buflen -/// -/// @return converted string. +/// When "buf" is NULL, return an allocated string. +/// Otherwise, put the result in buf, limited by buflen, and return buf. char_u* str_foldcase(char_u *str, int orglen, char_u *buf, int buflen) + FUNC_ATTR_NONNULL_RET { garray_T ga; int i; |