diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-03-08 19:58:45 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-09 09:29:57 +0100 |
commit | 05f643f9d235b0db881acf94ce05ad3359ffb058 (patch) | |
tree | 99f5f801df3609f4c44dc89f8e1094a7b516f748 /src/nvim/fileio.c | |
parent | f27068caad517c52e700477d51343cbebd8d4df0 (diff) | |
download | rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.gz rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.bz2 rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.zip |
chore(lgtm): fix "empty block without comment" warnings
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index c5a89d3371..971ae9abae 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -4961,9 +4961,8 @@ int buf_check_timestamp(buf_T *buf) buf_store_file_info(buf, &file_info); } - // Don't do anything for a directory. Might contain the file - // explorer. if (os_isdir(buf->b_fname)) { + // Don't do anything for a directory. Might contain the file explorer. } else if ((buf->b_p_ar >= 0 ? buf->b_p_ar : p_ar) && !bufIsChanged(buf) && file_info_ok) { // If 'autoread' is set, the buffer has no changes and the file still |