mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
pvs/v547: remove useless ternary for string size
This commit is contained in:
parent
5caaacaafe
commit
09c46b6c40
@ -805,7 +805,7 @@ ArrayOf(String) nvim_get_runtime_file(String name, Boolean all, Error *err)
|
||||
}
|
||||
|
||||
int flags = DIP_START | (all ? DIP_ALL : 0);
|
||||
do_in_runtimepath(name.size ? (char_u *)name.data : NULL,
|
||||
do_in_runtimepath((char_u *)name.data,
|
||||
flags, find_runtime_cb, &rv);
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user