diff options
author | ZyX <kp-pav@yandex.ru> | 2015-10-29 00:31:05 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-29 19:34:25 +0300 |
commit | 1af15494c25d1cba9e4da058fc3b958d27d3f890 (patch) | |
tree | fa9636495c8093aaebcd8a765e6eaec647d9aaac /src/nvim/os/stdpaths.c | |
parent | baf032834aa82f3e9b69f59f144c78ad5a37f5d5 (diff) | |
download | rneovim-1af15494c25d1cba9e4da058fc3b958d27d3f890.tar.gz rneovim-1af15494c25d1cba9e4da058fc3b958d27d3f890.tar.bz2 rneovim-1af15494c25d1cba9e4da058fc3b958d27d3f890.zip |
stdpaths: Document that stdpaths_*_subpath is not returning NULL
Diffstat (limited to 'src/nvim/os/stdpaths.c')
-rw-r--r-- | src/nvim/os/stdpaths.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/stdpaths.c b/src/nvim/os/stdpaths.c index ab59dd9a71..c9631a434c 100644 --- a/src/nvim/os/stdpaths.c +++ b/src/nvim/os/stdpaths.c @@ -82,7 +82,7 @@ static char *get_xdg_home(const XDGVarType idx) /// /// @return [allocated] `$XDG_CONFIG_HOME/nvim/{fname}` char *stdpaths_user_conf_subpath(const char *fname) - FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL + FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET { return concat_fnames_realloc(get_xdg_home(kXDGConfigHome), fname, true); } @@ -95,7 +95,7 @@ char *stdpaths_user_conf_subpath(const char *fname) /// @return [allocated] `$XDG_DATA_HOME/nvim/{fname}` char *stdpaths_user_data_subpath(const char *fname, const size_t trailing_pathseps) - FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL + FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET { char *ret = concat_fnames_realloc(get_xdg_home(kXDGDataHome), fname, true); if (trailing_pathseps) { |