8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux

Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
This commit is contained in:
Calvin Cheung 2013-06-13 22:02:40 -07:00
parent 72a51a0c44
commit 53448fdbed
17 changed files with 52 additions and 31 deletions

View file

@ -2615,7 +2615,8 @@ void nmethod::print_relocations() {
relocation_begin()-1+ip[1]);
for (; ip < index_end; ip++)
tty->print_cr(" (%d ?)", ip[0]);
tty->print_cr(" @" INTPTR_FORMAT ": index_size=%d", ip, *ip++);
tty->print_cr(" @" INTPTR_FORMAT ": index_size=%d", ip, *ip);
ip++;
tty->print_cr("reloc_end @" INTPTR_FORMAT ":", ip);
}
}