diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-19 16:09:51 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-19 16:09:51 +0000 |
commit | 6edf18a6cb88793eb51776264f367e8880b77bd2 (patch) | |
tree | d243de95567f278205efde59b3ca0adf508e6084 /gcc/treelang | |
parent | 12ef3745cdaccd74b4bd63acbca64f61908771ba (diff) | |
download | ppe42-gcc-6edf18a6cb88793eb51776264f367e8880b77bd2.tar.gz ppe42-gcc-6edf18a6cb88793eb51776264f367e8880b77bd2.zip |
gcc:
* fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
f:
* com.c data.c expr.c fini.c g77spec.c global.c lab.c lex.c name.c
sta.c stc.c std.c storag.c stt.c stw.c symbol.c target.c type.c:
Remove unnecessary casts.
cp:
* call.c class.c decl.c decl2.c g++spec.c lex.c parser.c pt.c rtti.c
semantics.c typeck.c: Remove unnecessary casts.
java:
* class.c java-tree.h jcf-write.c jvspec.c: Remove unnecessary
casts.
treelang:
* treetree.c: Remove unnecessary casts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 6157e00431d..16398de9227 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,7 @@ +2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * treetree.c: Remove unnecessary casts. + 2003-07-15 Neil Booth <neil@daikokuya.co.uk> * lang-options.h: Remove. diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c index 2b8fd149b43..8a57e27df15 100644 --- a/gcc/treelang/treetree.c +++ b/gcc/treelang/treetree.c @@ -1124,8 +1124,7 @@ void pushlevel (ignore) int ignore ATTRIBUTE_UNUSED; { - struct binding_level *newlevel - = (struct binding_level *) xmalloc (sizeof (struct binding_level)); + struct binding_level *newlevel = xmalloc (sizeof (struct binding_level)); *newlevel = clear_binding_level; |