diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-12 22:46:47 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-05-13 15:04:32 +0200 |
commit | 9e5d55e2b0a80208f4febe49199b771445b9fa73 (patch) | |
tree | b9a15dd20fd141a32dabfdcf4c0d2cabf1311d31 /src | |
parent | ac47f8a50691e6ce99c54712e5c984db8b1f079e (diff) | |
download | rneovim-9e5d55e2b0a80208f4febe49199b771445b9fa73.tar.gz rneovim-9e5d55e2b0a80208f4febe49199b771445b9fa73.tar.bz2 rneovim-9e5d55e2b0a80208f4febe49199b771445b9fa73.zip |
path.c: Remove invalid FUNC_ATTR_NONNULL_RET
References https://github.com/neovim/neovim/pull/6514#issuecomment-301235265
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 12952f49db..045902e1c6 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -435,7 +435,7 @@ bool add_pathsep(char *p) /// @return [allocated] Copy of absolute path to `fname` or NULL when /// `fname` is NULL. char *FullName_save(const char *fname, bool force) - FUNC_ATTR_NONNULL_RET FUNC_ATTR_MALLOC + FUNC_ATTR_MALLOC { if (fname == NULL) { return NULL; @@ -453,7 +453,7 @@ char *FullName_save(const char *fname, bool force) /// @param name An absolute or relative path. /// @return The absolute path of `name`. char_u *save_absolute_path(const char_u *name) - FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_RET FUNC_ATTR_NONNULL_ALL + FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL { if (!path_is_absolute_path(name)) { return (char_u *)FullName_save((char *)name, true); |