mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: remove redundant const char * casts
This commit is contained in:
@@ -1351,7 +1351,7 @@ int recover_names(char *fname, int list, int nr, char **fname_out)
|
||||
// print the swap file name
|
||||
msg_outnum((long)++file_count);
|
||||
msg_puts(". ");
|
||||
msg_puts((const char *)path_tail(files[i]));
|
||||
msg_puts(path_tail(files[i]));
|
||||
msg_putchar('\n');
|
||||
(void)swapfile_info(files[i]);
|
||||
}
|
||||
@@ -1508,7 +1508,7 @@ static time_t swapfile_info(char *fname)
|
||||
if (char_to_long(b0.b0_pid) != 0L) {
|
||||
msg_puts(_("\n process ID: "));
|
||||
msg_outnum(char_to_long(b0.b0_pid));
|
||||
if (swapfile_process_running(&b0, (const char *)fname)) {
|
||||
if (swapfile_process_running(&b0, fname)) {
|
||||
msg_puts(_(" (STILL RUNNING)"));
|
||||
process_still_running = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user