Remove unused 'buf' in shadow.c
This commit is contained in:
		@@ -388,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 ();
 | 
			
		||||
@@ -483,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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user