projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfefd4d
)
fix typo in last commit....
author
Aldy Hernandez
<aldyh@gcc.gnu.org>
Fri, 28 May 2004 22:18:24 +0000
(22:18 +0000)
committer
Aldy Hernandez
<aldyh@gcc.gnu.org>
Fri, 28 May 2004 22:18:24 +0000
(22:18 +0000)
From-SVN: r82386
gcc/c-common.c
patch
|
blob
|
history
diff --git
a/gcc/c-common.c
b/gcc/c-common.c
index c144787503d31e3a28ac1ea79bad934b4411aeab..fc6ec6308baab4851fea4f1f3518bbf410b0bd2f 100644
(file)
--- 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;
}