Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/memory/universe.cpp Thu Jun 13 22:02:40 2013 -0700 @@ -529,7 +529,9 @@ if (vt) vt->initialize_vtable(false, CHECK); if (ko->oop_is_instance()) { InstanceKlass* ik = (InstanceKlass*)ko; - for (KlassHandle s_h(THREAD, ik->subklass()); s_h() != NULL; s_h = (THREAD, s_h()->next_sibling())) { + for (KlassHandle s_h(THREAD, ik->subklass()); + s_h() != NULL; + s_h = KlassHandle(THREAD, s_h()->next_sibling())) { reinitialize_vtable_of(s_h, CHECK); } }