diff --git a/lib/sgetspent.c b/lib/sgetspent.c index 20531eba..8251a561 100644 --- a/lib/sgetspent.c +++ b/lib/sgetspent.c @@ -52,7 +52,6 @@ struct spwd *sgetspent (const char *string) static struct spwd spwd; char *fields[FIELDS]; char *cp; - char *cpp; int i; /* diff --git a/lib/shadow.c b/lib/shadow.c index 05cb0e4a..e743b2ce 100644 --- a/lib/shadow.c +++ b/lib/shadow.c @@ -130,7 +130,6 @@ static struct spwd *my_sgetspent (const char *string) static struct spwd spwd; char *fields[FIELDS]; char *cp; - char *cpp; int i; /* @@ -389,7 +388,6 @@ struct spwd *getspent (void) #ifdef USE_NIS int nis_1_user = 0; struct spwd *val; - char buf[BUFSIZ]; #endif if (NULL == shadow) { setspent (); @@ -484,7 +482,6 @@ struct spwd *getspnam (const char *name) struct spwd *sp; #ifdef USE_NIS - char buf[BUFSIZ]; static char save_name[16]; bool nis_disabled = false; #endif