From e70eba6ff9e02312133d5c2d07991b8c70130a26 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 21 Jan 2014 22:36:13 -0500 Subject: [PATCH] cmPgmOpts.c : Changed the initial value of 'i' in cmPgmOptParse() from 0 to 1. --- cmPgmOpts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmPgmOpts.c b/cmPgmOpts.c index 735c388..9f13d0b 100644 --- a/cmPgmOpts.c +++ b/cmPgmOpts.c @@ -710,7 +710,7 @@ cmPoRC_t cmPgmOptParse( cmPgmOptH_t h, unsigned argCnt, char* argArray[] ) unsigned state = kDash; _cmPoOpt_t* r = NULL; _cmPoArg_t* a = NULL; - int i = 0; // arg index + int i = 1; // arg index int j = 0; // arg label character index