Remove unused 'buf' in shadow.c

This commit is contained in:
Michael Vetter 2020-04-25 12:23:10 +02:00
parent 8eee5d03fd
commit 992c1723af

View File

@ -388,7 +388,6 @@ struct spwd *getspent (void)
#ifdef USE_NIS #ifdef USE_NIS
int nis_1_user = 0; int nis_1_user = 0;
struct spwd *val; struct spwd *val;
char buf[BUFSIZ];
#endif #endif
if (NULL == shadow) { if (NULL == shadow) {
setspent (); setspent ();
@ -483,7 +482,6 @@ struct spwd *getspnam (const char *name)
struct spwd *sp; struct spwd *sp;
#ifdef USE_NIS #ifdef USE_NIS
char buf[BUFSIZ];
static char save_name[16]; static char save_name[16];
bool nis_disabled = false; bool nis_disabled = false;
#endif #endif