< prev index next >

modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp

Print this page

        

@@ -307,11 +307,11 @@
 
 bool PosixProcess::Wait() {
     bool result = false;
 
     int status = 0;
-    pid_t wpid;
+    pid_t wpid = -1;
 
     //TODO Use waitpid instead of wait
 #ifdef LINUX
     wait();
 #endif
< prev index next >