mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 08:28:34 +00:00
minor cleanup. #2610
Update vim_isAbsName() to use bool type cleanup casts in vim_findfile() and recover_names() References #2470
This commit is contained in:

committed by
Justin M. Keyes

parent
de7332c0f5
commit
7747bf64d8
@@ -1367,7 +1367,7 @@ recover_names (
|
||||
char_u *swapname = (char_u *)modname((char *)fname_res, ".swp", TRUE);
|
||||
if (swapname != NULL) {
|
||||
if (os_file_exists(swapname)) {
|
||||
files = (char_u **)xmalloc(sizeof(char_u *));
|
||||
files = xmalloc(sizeof(char_u *));
|
||||
files[0] = swapname;
|
||||
swapname = NULL;
|
||||
num_files = 1;
|
||||
|
Reference in New Issue
Block a user