PVS/V1032: pointer cast to a more strictly aligned type

This commit is contained in:
Justin M. Keyes
2019-01-16 00:10:41 +01:00
parent ed171f7be2
commit ea7491586f
4 changed files with 10 additions and 9 deletions

View File

@@ -4702,7 +4702,7 @@ ExpandFromContext (
return ret;
}
*file = (char_u **)"";
*file = &vim_emptystr;
*num_file = 0;
if (xp->xp_context == EXPAND_HELP) {
/* With an empty argument we would get all the help tags, which is