diff options
| author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 21:57:09 +0000 |
|---|---|---|
| committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 21:57:09 +0000 |
| commit | 5b0a320eca3bdb5568eda978534adf7ad5edc4ca (patch) | |
| tree | d78f68fd548b7fe100d1c9c862b04b87d0c5606d /gcc/java/verify.c | |
| parent | b83e57f81778b99d033a7b140e77f42fc7a3fe86 (diff) | |
| download | ppe42-gcc-5b0a320eca3bdb5568eda978534adf7ad5edc4ca.tar.gz ppe42-gcc-5b0a320eca3bdb5568eda978534adf7ad5edc4ca.zip | |
* class.c (finish_class): Remove unused parameter, all callers
changed.
* expr.c (build_java_athrow): Change return type to void.
(java_lang_expand_expr): Make sure each case in switch returns a
value.
* java-tree.h (finish_class): Fix prototype to take void args.
* jcf-dump.c (usage): Mark with ATTRIBUTE_NORETURN.
(main): Issue return from main, not exit.
* jcf-parse.c (parse_class_file): Fix call to `finish_class'.
* jcf.h (jcf_unexpected_eof): Mark with ATTRIBUTE_NORETURN.
* jv-scan.c (main): Issue return from main, not exit.
* parse.y (check_abstract_method_definitions,
java_check_abstract_method_definitions): Add static prototypes.
(java_complete_expand_methods): Fix call to `finish_class'.
* verify.c (verify_jvm_instructions): Initialize variables `oldpc'
and `prevpc'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/verify.c')
| -rw-r--r-- | gcc/java/verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/verify.c b/gcc/java/verify.c index 77d96719c4e..41eba1074f5 100644 --- a/gcc/java/verify.c +++ b/gcc/java/verify.c @@ -354,8 +354,8 @@ verify_jvm_instructions (jcf, byte_ops, length) int wide = 0; int op_code; int PC; - int oldpc; /* PC of start of instruction. */ - int prevpc; /* If >= 0, PC of previous instruction. */ + int oldpc = 0; /* PC of start of instruction. */ + int prevpc = 0; /* If >= 0, PC of previous instruction. */ const char *message; int i; register unsigned char *p; |

