mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
PVS/V1032: pointer cast to a more strictly aligned type
This commit is contained in:
@@ -1267,7 +1267,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
}
|
||||
|
||||
*num_file = ga.ga_len;
|
||||
*file = (ga.ga_data != NULL) ? (char_u **)ga.ga_data : (char_u **)"";
|
||||
*file = (ga.ga_data != NULL) ? (char_u **)ga.ga_data : &vim_emptystr;
|
||||
|
||||
recursive = false;
|
||||
|
||||
|
Reference in New Issue
Block a user