From: Aldy Hernandez Date: Fri, 28 May 2004 22:18:24 +0000 (+0000) Subject: fix typo in last commit.... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5557d6723dd80ceb154d49b22869262ee64b1130;p=gcc.git fix typo in last commit.... From-SVN: r82386 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index c144787503d..fc6ec6308ba 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1118,10 +1118,7 @@ fname_as_string (int pretty_p) return (char *) cstr.text; } else - { - namep = xmalloc (strlen (name) + 1); - namep = xstrdup (name); - } + namep = xstrdup (name); return namep; }