mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
refactor: remove redundant const char * casts
This commit is contained in:
@@ -1341,7 +1341,7 @@ char *find_file_in_path_option(char *ptr, size_t len, int options, int first, ch
|
||||
char *buf = NULL;
|
||||
int rel_to_curdir;
|
||||
|
||||
if (rel_fname != NULL && path_with_url((const char *)rel_fname)) {
|
||||
if (rel_fname != NULL && path_with_url(rel_fname)) {
|
||||
// Do not attempt to search "relative" to a URL. #6009
|
||||
rel_fname = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user