refactor: remove redundant char casts #15888

This commit is contained in:
dundargoc
2021-10-04 15:40:43 +02:00
committed by GitHub
parent b4c54ffa22
commit 44f7b46199
16 changed files with 38 additions and 39 deletions

View File

@@ -1110,7 +1110,7 @@ static int diff_file(diffio_T *dio)
// Build the diff command and execute it. Always use -a, binary
// differences are of no use. Ignore errors, diff returns
// non-zero when differences have been found.
vim_snprintf((char *)cmd, len, "diff %s%s%s%s%s%s%s%s %s",
vim_snprintf(cmd, len, "diff %s%s%s%s%s%s%s%s %s",
diff_a_works == kFalse ? "" : "-a ",
"",
(diff_flags & DIFF_IWHITE) ? "-b " : "",