diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-04-07 21:08:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 21:08:16 +0200 |
commit | 04933b1ea968f958d2541dd65fd33ebb503caac3 (patch) | |
tree | 430e333892c440dccce4d1b4606c83ab36f817c5 /src/nvim/autocmd.c | |
parent | 9408f2dcf7cade2631688300e9b58eed6bc5219a (diff) | |
download | rneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.tar.gz rneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.tar.bz2 rneovim-04933b1ea968f958d2541dd65fd33ebb503caac3.zip |
refactor: remove redundant casts
Diffstat (limited to 'src/nvim/autocmd.c')
-rw-r--r-- | src/nvim/autocmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c index 41ba4f506d..f1ce919942 100644 --- a/src/nvim/autocmd.c +++ b/src/nvim/autocmd.c @@ -2499,7 +2499,7 @@ bool aupat_is_buflocal(char *pat, int patlen) int aupat_get_buflocal_nr(char *pat, int patlen) { - assert(aupat_is_buflocal((char *)pat, patlen)); + assert(aupat_is_buflocal(pat, patlen)); // "<buffer>" if (patlen == 8) { |