From: Jaakko Heinonen Date: Fri, 29 Jul 2005 16:07:36 +0000 (+0000) Subject: - cleanup X-Git-Tag: upstream/0.6.1~2^2~191 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=13ea25054568fcbfcbfd4ca5bcf4a848e0c1578a;p=pkg%2Fabook.git - cleanup --- diff --git a/misc.c b/misc.c index 73154e8..5c9a64d 100644 --- a/misc.c +++ b/misc.c @@ -126,10 +126,7 @@ strconcat (const char *str, ...) } MY_VA_END; - concat = (char *) - xmalloc(l); - if(concat == NULL) - return NULL; + concat = xmalloc(l); strcpy (concat, str); MY_VA_START(str);