changeset 8471:e236fc2b593e

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 b1379cdd6933
children 1be53aada8de
files src/share/vm/prims/jvmtiEnvBase.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.cpp	Fri May 29 22:29:44 2015 +0900
+++ b/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;