mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
Merge pull request #19971 from dundargoc/refactor/remove-casts
refactor: remove redundant casts
This commit is contained in:
@@ -3088,7 +3088,7 @@ cmdidx_T excmd_get_cmdidx(const char *cmd, size_t len)
|
||||
{
|
||||
cmdidx_T idx;
|
||||
|
||||
for (idx = (cmdidx_T)0; (int)idx < (int)CMD_SIZE; idx = (cmdidx_T)((int)idx + 1)) {
|
||||
for (idx = (cmdidx_T)0; (int)idx < CMD_SIZE; idx = (cmdidx_T)((int)idx + 1)) {
|
||||
if (strncmp(cmdnames[(int)idx].cmd_name, cmd, len) == 0) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user