diff options
author | dundargoc <gocdundar@gmail.com> | 2024-01-01 15:56:00 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-01 19:57:44 +0100 |
commit | b49d4e18a67d16548fa72013237a87564656170e (patch) | |
tree | 86c1f17eac78ecff4a292e43df9157ba51295f59 /src/nvim/path.c | |
parent | f69658bc355e130fc2845a8e0edc8baa4f256329 (diff) | |
download | rneovim-b49d4e18a67d16548fa72013237a87564656170e.tar.gz rneovim-b49d4e18a67d16548fa72013237a87564656170e.tar.bz2 rneovim-b49d4e18a67d16548fa72013237a87564656170e.zip |
refactor: remove redundant NOLINT comments
Diffstat (limited to 'src/nvim/path.c')
-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 cb3d7045cb..5ec0709521 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -651,7 +651,7 @@ static size_t do_path_expand(garray_T *gap, const char *path, size_t wildoff, in && (vim_strchr("*?[{~$", (uint8_t)(*path_end)) != NULL || (!p_fic && (flags & EW_ICASE) && mb_isalpha(utf_ptr2char(path_end)))) #endif - ) { // NOLINT(whitespace/parens) + ) { e = p; } len = (size_t)(utfc_ptr2len(path_end)); @@ -907,7 +907,7 @@ static char *get_path_cutoff(char *fname, garray_T *gap) #ifdef MSWIN || (vim_ispathsep(fname[j]) && vim_ispathsep(path_part[i][j])) #endif - ) // NOLINT(whitespace/parens) + ) && fname[j] != NUL && path_part[i][j] != NUL) { j++; } |