mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clang-analyzer: Fix dead stores in garray.c.
This commit is contained in:
parent
4fa8a0c43c
commit
bdd82b0da7
@ -159,7 +159,7 @@ char_u *ga_concat_strings_sep(const garray_T *gap, const char *sep)
|
||||
s = xstpcpy(s, strings[i]);
|
||||
s = xstpcpy(s, sep);
|
||||
}
|
||||
s = xstpcpy(s, strings[nelem - 1]);
|
||||
strcpy(s, strings[nelem - 1]);
|
||||
|
||||
return (char_u *) ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user