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

This commit is contained in:
kevin 2014-01-21 22:36:13 -05:00
parent a8c3a33591
commit e70eba6ff9

View File

@ -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