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

@@ -2284,7 +2284,7 @@ bool message_filtered(const char *msg)
return false;
}
bool match = vim_regexec(&cmdmod.cmod_filter_regmatch, msg, (colnr_T)0);
bool match = vim_regexec(&cmdmod.cmod_filter_regmatch, msg, 0);
return cmdmod.cmod_filter_force ? match : !match;
}