mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
refactor: remove redundant casts 2
(cherry picked from commit 994314a86d
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
4db8c7d570
commit
5f263789e0
@@ -2231,7 +2231,7 @@ int buflist_findpat(const char *pattern, const char *pattern_end, bool unlisted,
|
||||
// Repeat this for finding an unlisted buffer if there was no matching
|
||||
// listed buffer.
|
||||
|
||||
pat = file_pat_to_reg_pat((char *)pattern, (char *)pattern_end, NULL, false);
|
||||
pat = file_pat_to_reg_pat(pattern, pattern_end, NULL, false);
|
||||
if (pat == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user