Mercurial > hg > truffle
comparison src/share/vm/memory/universe.cpp @ 10973:ef57c43512d6
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
author | ccheung |
---|---|
date | Thu, 13 Jun 2013 22:02:40 -0700 |
parents | f2110083203d |
children | 9f3e3245b50f 71963b3f802a de2d15ce3d4a |
comparison
equal
deleted
inserted
replaced
10969:a837fa3d3f86 | 10973:ef57c43512d6 |
---|---|
527 Klass* ko = k_h(); | 527 Klass* ko = k_h(); |
528 klassVtable* vt = ko->vtable(); | 528 klassVtable* vt = ko->vtable(); |
529 if (vt) vt->initialize_vtable(false, CHECK); | 529 if (vt) vt->initialize_vtable(false, CHECK); |
530 if (ko->oop_is_instance()) { | 530 if (ko->oop_is_instance()) { |
531 InstanceKlass* ik = (InstanceKlass*)ko; | 531 InstanceKlass* ik = (InstanceKlass*)ko; |
532 for (KlassHandle s_h(THREAD, ik->subklass()); s_h() != NULL; s_h = (THREAD, s_h()->next_sibling())) { | 532 for (KlassHandle s_h(THREAD, ik->subklass()); |
533 s_h() != NULL; | |
534 s_h = KlassHandle(THREAD, s_h()->next_sibling())) { | |
533 reinitialize_vtable_of(s_h, CHECK); | 535 reinitialize_vtable_of(s_h, CHECK); |
534 } | 536 } |
535 } | 537 } |
536 } | 538 } |
537 | 539 |