diff options
author | Aldy Hernandez <aldyh@gcc.gnu.org> | 2004-05-28 22:18:24 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2004-05-28 22:18:24 +0000 |
commit | 5557d6723dd80ceb154d49b22869262ee64b1130 (patch) | |
tree | b9cb313f0d2bb739be070b4f7c9b0fe60ee2b8f2 /gcc | |
parent | bfefd4d5906bb0ab37cd58049b1aa6cc48e07e4a (diff) | |
download | gcc-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.c | 5 |
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; } |