svn commit: r227105 - head/lib/libpam/modules/pam_unix

Ed Schouten ed at FreeBSD.org
Sat Nov 5 10:00:30 UTC 2011


Author: ed
Date: Sat Nov  5 10:00:29 2011
New Revision: 227105
URL: http://svn.freebsd.org/changeset/base/227105

Log:
  Remove an unused variable from pam_unix.
  
  This variable was added in r82352 back in 2001, but even then it didn't
  have any use. Because it's not marked static, the C compiler won't
  complain about it.
  
  Discussed with:	des

Modified:
  head/lib/libpam/modules/pam_unix/pam_unix.c

Modified: head/lib/libpam/modules/pam_unix/pam_unix.c
==============================================================================
--- head/lib/libpam/modules/pam_unix/pam_unix.c	Sat Nov  5 09:04:13 2011	(r227104)
+++ head/lib/libpam/modules/pam_unix/pam_unix.c	Sat Nov  5 10:00:29 2011	(r227105)
@@ -81,8 +81,6 @@ static char password_hash[] =		PASSWORD_
 #define PAM_OPT_LOCAL_PASS	"local_pass"
 #define PAM_OPT_NIS_PASS	"nis_pass"
 
-char *tempname = NULL;
-
 /*
  * authentication management
  */


More information about the svn-src-head mailing list