clang-analyzer: Fix dead stores in garray.c.

This commit is contained in:
Florian Walch 2014-07-23 13:33:32 +02:00
parent 4fa8a0c43c
commit bdd82b0da7

View File

@ -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;
}