mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
chdir: remove unused argument #9901
This commit is contained in:

committed by
Justin M. Keyes

parent
82d48c0dab
commit
a0da692fce
@@ -683,7 +683,7 @@ void nvim_set_current_dir(String dir, Error *err)
|
||||
|
||||
try_start();
|
||||
|
||||
if (vim_chdir((char_u *)string, kCdScopeGlobal)) {
|
||||
if (vim_chdir((char_u *)string)) {
|
||||
if (!try_end(err)) {
|
||||
api_set_error(err, kErrorTypeException, "Failed to change directory");
|
||||
}
|
||||
|
Reference in New Issue
Block a user