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/java/class.c | |
parent | 12ef3745cdaccd74b4bd63acbca64f61908771ba (diff) | |
download | gcc-6edf18a6cb88793eb51776264f367e8880b77bd2.tar.gz |
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/java/class.c')
-rw-r--r-- | gcc/java/class.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 443cfc557d8..a4278efa0c0 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -148,8 +148,7 @@ add_assume_compiled (const char *ident, int excludep) { int len; assume_compiled_node *parent; - assume_compiled_node *node = - xmalloc (sizeof (assume_compiled_node)); + assume_compiled_node *node = xmalloc (sizeof (assume_compiled_node)); node->ident = xstrdup (ident); node->excludep = excludep; @@ -2157,7 +2156,7 @@ java_treetreehash_find (htab_t ht, tree t) { struct treetreehash_entry *e; hashval_t hv = JAVA_TREEHASHHASH_H (t); - e = (struct treetreehash_entry *) htab_find_with_hash (ht, t, hv); + e = htab_find_with_hash (ht, t, hv); if (e == NULL) return NULL; else |