refactor: remove redundant casts

This commit is contained in:
dundargoc
2023-11-11 11:20:08 +01:00
committed by dundargoc
parent c4ad15ae32
commit 8e58d37f2e
45 changed files with 146 additions and 152 deletions

View File

@@ -561,7 +561,7 @@ static int expand_set_opt_string(optexpand_T *args, char **values, size_t numVal
continue;
}
}
if (vim_regexec(regmatch, *val, (colnr_T)0)) {
if (vim_regexec(regmatch, *val, 0)) {
(*matches)[count++] = xstrdup(*val);
}
}