From ea7491586fccb2ce6de43b77fd0bd06b6dbaa17d Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 16 Jan 2019 00:10:41 +0100 Subject: PVS/V1032: pointer cast to a more strictly aligned type --- src/nvim/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/path.c') diff --git a/src/nvim/path.c b/src/nvim/path.c index de697642c7..7f5dbe5c02 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -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; -- cgit