changeset 31024:b619cc1d6ea6

8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp Reviewed-by: mgronlun, sspitsyn
author sla
date Fri, 29 May 2015 09:48:58 +0200
parents 4ad03f76c141
children 5cc170f4923d
files hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/prims/jvmtiEnvBase.cpp	Fri May 29 22:29:44 2015 +0900
+++ b/hotspot/src/share/vm/prims/jvmtiEnvBase.cpp	Fri May 29 09:48:58 2015 +0200
@@ -842,7 +842,7 @@
         // optimize to limit the number of times that java_sender() is called
         javaVFrame *jvf_cursor = jvf;
         javaVFrame *jvf_prev = NULL;
-        javaVFrame *jvf_prev_prev;
+        javaVFrame *jvf_prev_prev = NULL;
         int j = 0;
         while (jvf_cursor != NULL) {
           jvf_prev_prev = jvf_prev;