From 13ea25054568fcbfcbfd4ca5bcf4a848e0c1578a Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Fri, 29 Jul 2005 16:07:36 +0000 Subject: [PATCH] - cleanup --- misc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); -- 2.39.2