aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-05-20 12:37:18 -0400
committerGitHub <noreply@github.com>2017-05-20 12:37:18 -0400
commit6a7514feaada0f46a1d16a37760847610e825dad (patch)
tree20ac84940f7bba7bb15bd7ddc6f4a66ac0439439 /src/nvim/path.c
parentbde46fdeceec8f9dd675f0e31080d732308573d9 (diff)
parentc77c54f1bc8f2a251d6be35d09fe309d653e671f (diff)
downloadrneovim-6a7514feaada0f46a1d16a37760847610e825dad.tar.gz
rneovim-6a7514feaada0f46a1d16a37760847610e825dad.tar.bz2
rneovim-6a7514feaada0f46a1d16a37760847610e825dad.zip
Merge pull request #6735 from justinmk/funcattr
clang 3.6+ REAL_FATTR_NONNULL_RET
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 23ed4d381e..9162b6da4d 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);