refactor: remove redundant casts

This commit is contained in:
ii14
2023-04-07 21:43:00 +02:00
committed by GitHub
parent 04933b1ea9
commit 2d78e656b7
30 changed files with 93 additions and 94 deletions

View File

@@ -4009,7 +4009,7 @@ static bool shada_removable(const char *name)
char part[MAXPATHL + 1];
bool retval = false;
char *new_name = home_replace_save(NULL, (char *)name);
char *new_name = home_replace_save(NULL, name);
for (p = p_shada; *p;) {
(void)copy_option_part(&p, part, ARRAY_SIZE(part), ", ");
if (part[0] == 'r') {