diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-12 21:29:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-12 21:29:01 +0000 |
commit | d7ec9f68351a18e4d9107c7852b280de1cc1998f (patch) | |
tree | 171717812e56e4cbc3db1a560d95130a55fb7947 /source3/passdb | |
parent | d33db506ca7f62730c7954d9f19d184171a5d16b (diff) | |
download | samba-d7ec9f68351a18e4d9107c7852b280de1cc1998f.tar.gz samba-d7ec9f68351a18e4d9107c7852b280de1cc1998f.tar.bz2 samba-d7ec9f68351a18e4d9107c7852b280de1cc1998f.zip |
Fix compiler warnings.
Jeremy.
(This used to be commit e12934c67b6aea9e3e449009e159ce6814dcbd11)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_guest.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ldap.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_tdb.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/source3/passdb/pdb_guest.c b/source3/passdb/pdb_guest.c index 9bcdccc7e7..f5cd3d996d 100644 --- a/source3/passdb/pdb_guest.c +++ b/source3/passdb/pdb_guest.c @@ -26,7 +26,6 @@ static NTSTATUS guestsam_getsampwnam (struct pdb_methods *methods, SAM_ACCOUNT *sam_account, const char *sname) { - NTSTATUS nt_status; const char *guest_account = lp_guestaccount(); if (!sam_account || !sname) { diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index da3a163c1e..b75238e971 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -1599,7 +1599,6 @@ static BOOL init_sam_from_ldap (struct ldapsam_privates *ldap_state, acct_desc, munged_dial, workstations; - struct passwd *pw; uint32 user_rid; uint8 smblmpwd[LM_HASH_LEN], smbntpwd[NT_HASH_LEN]; diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 74437cba6f..93fa4e1886 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -99,7 +99,6 @@ static BOOL init_sam_from_buffer (struct tdbsam_privates *tdb_state, uint32 len = 0; uint32 lm_pw_len, nt_pw_len, hourslen; BOOL ret = True; - struct passwd *pw; uid_t uid = -1; gid_t gid = -1; |