aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@gcc.gnu.org>2004-05-28 22:18:24 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2004-05-28 22:18:24 +0000
commit5557d6723dd80ceb154d49b22869262ee64b1130 (patch)
treeb9cb313f0d2bb739be070b4f7c9b0fe60ee2b8f2 /gcc
parentbfefd4d5906bb0ab37cd58049b1aa6cc48e07e4a (diff)
downloadgcc-5557d6723dd80ceb154d49b22869262ee64b1130.zip
gcc-5557d6723dd80ceb154d49b22869262ee64b1130.tar.gz
gcc-5557d6723dd80ceb154d49b22869262ee64b1130.tar.bz2
fix typo in last commit....
From-SVN: r82386
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-common.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index c144787..fc6ec63 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;
}