Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntime.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 | 28e5aed7f3a6 |
children | 9ba41a4a71ff f4f6ae481e1a |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/runtime/sharedRuntime.cpp Thu Jun 13 22:02:40 2013 -0700 @@ -2731,7 +2731,7 @@ // ResourceObject, so do not put any ResourceMarks in here. char *s = sig->as_C_string(); int len = (int)strlen(s); - *s++; len--; // Skip opening paren + s++; len--; // Skip opening paren char *t = s+len; while( *(--t) != ')' ) ; // Find close paren