summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-05 10:00:29 +0000
committered <ed@FreeBSD.org>2011-11-05 10:00:29 +0000
commite59eeb86a40a0b2b97663ebadb8b42fd9b01a724 (patch)
tree691d0328e9fddf916a23c337af5412965a2ca8f9 /lib/libpam
parentf015c4fd4f2e1138c133b10ab3852b47d6087eba (diff)
downloadFreeBSD-src-e59eeb86a40a0b2b97663ebadb8b42fd9b01a724.zip
FreeBSD-src-e59eeb86a40a0b2b97663ebadb8b42fd9b01a724.tar.gz
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
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c
index 5c6c8f7..415004a 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.c
+++ b/lib/libpam/modules/pam_unix/pam_unix.c
@@ -81,8 +81,6 @@ static char password_hash[] = PASSWORD_HASH;
#define PAM_OPT_LOCAL_PASS "local_pass"
#define PAM_OPT_NIS_PASS "nis_pass"
-char *tempname = NULL;
-
/*
* authentication management
*/
OpenPOWER on IntegriCloud