From 290255ee0bcf4f41c01b06d96af1bd94d9fc04d8 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Fri, 16 Oct 2009 08:26:43 -0700 Subject: [PATCH] Drop optind variable since its only set (and -Wshadow libsystem) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From Matthias Dieter Wallnöfer --- kpasswd/kpasswdd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kpasswd/kpasswdd.c b/kpasswd/kpasswdd.c index 5ddf34abd..f14211602 100644 --- a/kpasswd/kpasswdd.c +++ b/kpasswd/kpasswdd.c @@ -747,13 +747,12 @@ int num_args = sizeof(args) / sizeof(args[0]); int main (int argc, char **argv) { - int optind; krb5_keytab keytab; krb5_error_code ret; char **files; int port, i; - optind = krb5_program_setup(&context, argc, argv, args, num_args, NULL); + krb5_program_setup(&context, argc, argv, args, num_args, NULL); if(help_flag) krb5_std_usage(0, args, num_args);