diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/verify-impl.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 1b6eccf..aa23f33 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2005-07-22 Manfred Hollstein <mh@suse.com> + + * verify-impl.c (check_class_constant): Fix uninitialised warnings. + (check_constant): Likewise. + (check_wide_constant): Likewise. + 2005-07-20 Giovanni Bajo <giovannibajo@libero.it> Make CONSTRUCTOR use VEC to store initializers. diff --git a/gcc/java/verify-impl.c b/gcc/java/verify-impl.c index f787638..42dfc6f 100644 --- a/gcc/java/verify-impl.c +++ b/gcc/java/verify-impl.c @@ -1946,7 +1946,7 @@ check_pool_index (int index) static type check_class_constant (int index) { - type t; + type t = { 0, 0, 0 }; vfy_constants *pool; check_pool_index (index); @@ -1963,7 +1963,7 @@ check_class_constant (int index) static type check_constant (int index) { - type t; + type t = { 0, 0, 0 }; vfy_constants *pool; check_pool_index (index); @@ -1983,7 +1983,7 @@ check_constant (int index) static type check_wide_constant (int index) { - type t; + type t = { 0, 0, 0 }; vfy_constants *pool; check_pool_index (index); |