Mercurial > hg > graal-compiler
diff src/share/vm/classfile/genericSignatures.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 | 41ed397cc0cd |
children |
line wrap: on
line diff
--- a/src/share/vm/classfile/genericSignatures.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/classfile/genericSignatures.cpp Thu Jun 13 22:02:40 2013 -0700 @@ -124,7 +124,7 @@ fatal(STREAM->parse_error()); \ } \ return NULL; \ - } 0 + } (void)0 #define READ() STREAM->read(); CHECK_FOR_PARSE_ERROR() #define PEEK() STREAM->peek(); CHECK_FOR_PARSE_ERROR() @@ -133,7 +133,7 @@ #define EXPECTED(c, ch) STREAM->assert_char(c, ch); CHECK_FOR_PARSE_ERROR() #define EXPECT_END() STREAM->expect_end(); CHECK_FOR_PARSE_ERROR() -#define CHECK_STREAM STREAM); CHECK_FOR_PARSE_ERROR(); (0 +#define CHECK_STREAM STREAM); CHECK_FOR_PARSE_ERROR(); ((void)0 #ifndef PRODUCT void Identifier::print_on(outputStream* str) const {