diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-12 21:27:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-12 21:27:54 +0000 |
commit | 6abef0810007c317c3ee866eb3933ce2c696085f (patch) | |
tree | 348ad2c525417ac4b8144568d1cd60a0bde88663 /source3/passdb | |
parent | 0e23ce6fe9543fa967ebd016a5738e6a7439790b (diff) | |
download | samba-6abef0810007c317c3ee866eb3933ce2c696085f.tar.gz samba-6abef0810007c317c3ee866eb3933ce2c696085f.tar.bz2 samba-6abef0810007c317c3ee866eb3933ce2c696085f.zip |
Fix obvious compiler warnings.
Jeremy.
(This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)
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; |