X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=misc.c;h=5c9a64d75ecc58e6f5fa29732208723ae9d59447;hb=13ea25054568fcbfcbfd4ca5bcf4a848e0c1578a;hp=73154e85604049a49098bbdbece3e2bc7952b03b;hpb=ef379a20d142cb95ba08c7887c8e3245269b3fdd;p=pkg%2Fabook.git 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);