Commits

king  committed 5bdd334

ERR: Removed extra variable assignments.

  • Participants
  • Parent commits aa0f237
  • Tags KWSys-MultiProcess-bp

Comments (0)

Files changed (2)

File GCC_XML/KWSys/ProcessWin32.c

 /*--------------------------------------------------------------------------*/
 void kwsysProcess_Execute(kwsysProcess* cp)
 {
-  int i=0;
+  int i;
 
   /* Windows child startup control data.  */
   STARTUPINFO si;
       {
       /* Timeout has already expired.  */
       expired = 1;
-      done = 1;
       break;
       }
     if(timeoutTime.QuadPart < 0)
 int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
 {
   int i;
-  int pipe = 0;
+  int pipe;
   
   /* Make sure we are executing a process.  */
   if(cp->State != kwsysProcess_State_Executing)
   if(length > 0 && cp->ErrorMessage[length-1] == '.')
     {
     cp->ErrorMessage[length-1] = 0;
-    --length;
     }
 }
 

File GCC_XML/KWSys/RegularExpression.cxx

     place = opnd;               // Op node, where operand used to be.
     *place++ = op;
     *place++ = '\0';
-    *place++ = '\0';
+    *place = '\0';
 }