changeset 3031:fd20568bebff

6989116: (verifier) compiler warning messages Reviewed-by: kamg, ohair
author alanb
date Fri, 08 Oct 2010 10:36:17 +0100
parents 871cffb21423
children d122e96be7d2
files src/share/native/common/check_code.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/common/check_code.c	Thu Oct 07 14:36:17 2010 +0100
+++ b/src/share/native/common/check_code.c	Fri Oct 08 10:36:17 2010 +0100
@@ -2940,7 +2940,7 @@
     if (verify_verbose) {
         jio_fprintf(stdout, " [");
         for (i = handler_info_length; --i >= 0; handler_info++)
-            if (handler_info->start <= inumber && handler_info->end > inumber)
+            if (handler_info->start <= (int)inumber && handler_info->end > (int)inumber)
                 jio_fprintf(stdout, "%d* ", handler_info->handler);
         for (i = 0; i < successors_count; i++)
             jio_fprintf(stdout, "%d ", successors[i]);
@@ -3011,7 +3011,8 @@
     instruction_data_type *this_idata = &idata[to_inumber];
     register_info_type old_reg_info;
     stack_info_type old_stack_info;
-    flag_type old_and_flags, old_or_flags;
+    flag_type old_and_flags = 0;
+    flag_type old_or_flags = 0;
 #endif
 
 #ifdef DEBUG