No OOM error condition in ga_concat_strings(), concat_fnames(), concat_str()

- xmallocz() is not static anymore. There are many use cases for this function
	 in the codebase and we should start using it.
 - Simpler types in ga_concat_strings()
This commit is contained in:
Felipe Oliveira Carvalho
2014-04-19 02:12:47 -03:00
committed by Thiago de Arruda
parent 4b6b9117b3
commit 42f1bd9b22
10 changed files with 54 additions and 97 deletions

View File

@@ -1433,10 +1433,8 @@ scripterror:
char_u *r;
r = concat_fnames(p, path_tail(alist_name(&GARGLIST[0])), TRUE);
if (r != NULL) {
vim_free(p);
p = r;
}
vim_free(p);
p = r;
}
#ifdef USE_FNAME_CASE