diff options
author | George Zhao <zhaozg@gmail.com> | 2018-01-17 19:48:03 +0800 |
---|---|---|
committer | George Zhao <zhaozg@gmail.com> | 2018-01-18 21:43:45 +0800 |
commit | 421f2605c003c51ce25d131d444489f63a2ad928 (patch) | |
tree | bd68d56f25b773c5b08e6d892dc39288f615f4bb /src | |
parent | 23102bc18e292aa8a4c3b84881723148b435f415 (diff) | |
download | rneovim-421f2605c003c51ce25d131d444489f63a2ad928.tar.gz rneovim-421f2605c003c51ce25d131d444489f63a2ad928.tar.bz2 rneovim-421f2605c003c51ce25d131d444489f63a2ad928.zip |
Fix warning about NULL compare
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index aa28b95c30..5f29a45263 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -990,7 +990,7 @@ bool os_fileid_equal_fileinfo(const FileID *file_id, /// to and return that name in allocated memory. /// Otherwise NULL is returned. char *os_resolve_shortcut(const char *fname) - FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC + FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC { HRESULT hr; IPersistFile *ppf = NULL; |