Browse Source

COMP: Fixed uninitialized variable.

Brad King 20 years ago
parent
commit
931233ee7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/testProcess.c

+ 1 - 1
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)
     {