mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor: remove redundant NOLINT comments
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user