diff options
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/path.c b/src/path.c index 6e736f1daa..b4d5687e5c 100644 --- a/src/path.c +++ b/src/path.c @@ -284,18 +284,6 @@ char_u *concat_fnames(char_u *fname1, char_u *fname2, int sep) } /* - * Concatenate two strings and return the result in allocated memory. - */ -char_u *concat_str(char_u *str1, char_u *str2) -{ - size_t l = STRLEN(str1); - char_u *dest = xmalloc(l + STRLEN(str2) + 1); - STRCPY(dest, str1); - STRCPY(dest + l, str2); - return dest; -} - -/* * Add a path separator to a file name, unless it already ends in a path * separator. */ |