refactor: remove redundant casts

This commit is contained in:
ii14
2023-04-07 21:08:16 +02:00
committed by GitHub
parent 9408f2dcf7
commit 04933b1ea9
28 changed files with 101 additions and 111 deletions

View File

@@ -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) {