Eliminate shadow variable in lib/ntlm/test_ntlm.c.

This commit is contained in:
Roland C. Dowdeswell
2012-06-20 16:12:57 +01:00
parent 82f1c1f391
commit a3ff62cc76

View File

@@ -342,11 +342,11 @@ usage (int ret)
int
main(int argc, char **argv)
{
int ret = 0, optind = 0;
int ret = 0, optidx = 0;
setprogname(argv[0]);
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind))
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx))
usage(1);
if (help_flag)
@@ -357,8 +357,8 @@ main(int argc, char **argv)
exit(0);
}
argc -= optind;
argv += optind;
argc -= optidx;
argv += optidx;
if (verbose_flag)
printf("test_parse\n");