Add -Wshadow and deal with the warnings.
This commit is contained in:
@@ -309,11 +309,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)
|
||||
@@ -324,8 +324,8 @@ main(int argc, char **argv)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
argc -= optidx;
|
||||
argv += optidx;
|
||||
|
||||
ret += test_libntlm_v1(0);
|
||||
ret += test_libntlm_v1(NTLM_NEG_KEYEX);
|
||||
|
Reference in New Issue
Block a user