summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-28 22:18:24 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-28 22:18:24 +0000
commitdd4927050bb56b3f4afc8b6e140969b4c506f989 (patch)
treeb9cb313f0d2bb739be070b4f7c9b0fe60ee2b8f2 /gcc/c-common.c
parent189e242d55d3bfe681e3d0a6e41a98a34bf04a30 (diff)
downloadgcc-dd4927050bb56b3f4afc8b6e140969b4c506f989.tar.gz
fix typo in last commit....
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82386 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-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 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;
}