Mercurial > hg > graal-compiler
diff src/share/vm/classfile/verifier.hpp @ 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 | 4552a7633a07 |
children | 22eaa15b7960 |
line wrap: on
line diff
--- a/src/share/vm/classfile/verifier.hpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/classfile/verifier.hpp Thu Jun 13 22:02:40 2013 -0700 @@ -86,9 +86,9 @@ // These macros are used similarly to CHECK macros but also check // the status of the verifier and return if that has an error. #define CHECK_VERIFY(verifier) \ - CHECK); if ((verifier)->has_error()) return; (0 + CHECK); if ((verifier)->has_error()) return; ((void)0 #define CHECK_VERIFY_(verifier, result) \ - CHECK_(result)); if ((verifier)->has_error()) return (result); (0 + CHECK_(result)); if ((verifier)->has_error()) return (result); ((void)0 class TypeOrigin VALUE_OBJ_CLASS_SPEC { private: