mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
clang-analyzer: Fix dead stores in garray.c.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user