Browse Source

cmPgmOpts.c : Changed the initial value of 'i' in cmPgmOptParse() from 0 to 1.

master
kevin 11 years ago
parent
commit
e70eba6ff9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmPgmOpts.c

+ 1
- 1
cmPgmOpts.c View File

@@ -710,7 +710,7 @@ cmPoRC_t cmPgmOptParse( cmPgmOptH_t h, unsigned argCnt,  char* argArray[] )
710 710
   unsigned    state = kDash;
711 711
   _cmPoOpt_t* r     = NULL;
712 712
   _cmPoArg_t* a     = NULL;
713
-  int         i     = 0; // arg index
713
+  int         i     = 1; // arg index
714 714
   int         j     = 0; // arg label character index
715 715
 
716 716
 

Loading…
Cancel
Save