mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
Remove OOM checks: backslash_halve_save()
This commit is contained in:
@@ -3213,8 +3213,7 @@ static int showmatches(expand_T *xp, int wildmenu)
|
||||
exp_path = expand_env_save_opt(files_found[k], TRUE);
|
||||
halved_slash = backslash_halve_save(
|
||||
exp_path != NULL ? exp_path : files_found[k]);
|
||||
j = os_isdir(halved_slash != NULL ? halved_slash
|
||||
: files_found[k]);
|
||||
j = os_isdir(halved_slash);
|
||||
free(exp_path);
|
||||
free(halved_slash);
|
||||
} else
|
||||
|
Reference in New Issue
Block a user