changeset 9603:3916af7d4813

8088249: [parfait] Uninitialised variable in rt/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp Reviewed-by: cbensen, dtitov Contributed-by: vikas.saiprasad@oracle.com
author cbensen
date Thu, 03 Mar 2016 14:55:21 -0800
parents 31dbc1c77ba3
children de87459ed168
files modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	Fri Mar 04 11:05:11 2016 +1300
+++ b/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	Thu Mar 03 14:55:21 2016 -0800
@@ -227,7 +227,7 @@
 bool PosixProcess::Wait() {
     bool result = false;
 
-    int status;
+    int status = 0;
     pid_t wpid;
 
     //TODO Use waitpid instead of wait