diff src/share/vm/opto/memnode.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 6f3fd5150b67
children b88209cf98c0
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.cpp	Thu Jun 13 11:16:38 2013 -0700
+++ b/src/share/vm/opto/memnode.cpp	Thu Jun 13 22:02:40 2013 -0700
@@ -4384,7 +4384,7 @@
   }
 }
 #else // !ASSERT
-#define verify_memory_slice(m,i,n) (0)  // PRODUCT version is no-op
+#define verify_memory_slice(m,i,n) (void)(0)  // PRODUCT version is no-op
 #endif