summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/testProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c
index bbba948..9f58e66 100644
--- a/Source/kwsys/testProcess.c
+++ b/Source/kwsys/testProcess.c
@@ -291,7 +291,7 @@ int runChild(const char* cmd[], int state, int exception, int value,
int share, int output, int delay, double timeout,
int poll, int repeat)
{
- int result;
+ int result = 1;
kwsysProcess* kp = kwsysProcess_New();
if(!kp)
{