cmPgmOpts.c : Changed the initial value of 'i' in cmPgmOptParse() from 0 to 1.
This commit is contained in:
parent
a8c3a33591
commit
e70eba6ff9
@ -710,7 +710,7 @@ cmPoRC_t cmPgmOptParse( cmPgmOptH_t h, unsigned argCnt, char* argArray[] )
|
|||||||
unsigned state = kDash;
|
unsigned state = kDash;
|
||||||
_cmPoOpt_t* r = NULL;
|
_cmPoOpt_t* r = NULL;
|
||||||
_cmPoArg_t* a = NULL;
|
_cmPoArg_t* a = NULL;
|
||||||
int i = 0; // arg index
|
int i = 1; // arg index
|
||||||
int j = 0; // arg label character index
|
int j = 0; // arg label character index
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user