Mercurial > hg > truffle
diff src/share/vm/prims/forte.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 | dcb062bea05b |
children | e619a2766bcc 75ef1a499665 |
line wrap: on
line diff
--- a/src/share/vm/prims/forte.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/share/vm/prims/forte.cpp Thu Jun 13 22:02:40 2013 -0700 @@ -619,7 +619,7 @@ void* null_argument_3); #pragma weak collector_func_load #define collector_func_load(x0,x1,x2,x3,x4,x5,x6) \ - ( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),0 : 0 ) + ( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),(void)0 : (void)0 ) #endif // __APPLE__ #endif // !_WINDOWS