diff src/share/vm/opto/lcm.cpp @ 23822:626f594dffa6

8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux. Reviewed-by: stuefe, coleenp, roland
author csahu
date Tue, 01 Mar 2016 12:50:37 +0530
parents ddce0b7cee93
children f13e777eb255
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp	Thu Feb 18 16:15:28 2016 +0100
+++ b/src/share/vm/opto/lcm.cpp	Tue Mar 01 12:50:37 2016 +0530
@@ -675,7 +675,7 @@
   block->insert_node(proj, node_cnt++);
 
   // Select the right register save policy.
-  const char * save_policy;
+  const char *save_policy = NULL;
   switch (op) {
     case Op_CallRuntime:
     case Op_CallLeaf: