s3-pdb: remove unused variables.
authorGünther Deschner <gd@samba.org>
Tue, 24 Jul 2012 08:48:34 +0000 (10:48 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 24 Jul 2012 12:49:41 +0000 (14:49 +0200)
Guenther

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jul 24 14:49:42 CEST 2012 on sn-devel-104

source3/passdb/pdb_ldap.c

index 302717eb552e1575fc81aa79fb0d8eecd0bf9143..56225a2965da9b3ec2adcfbd80848fe2694b61e7 100644 (file)
@@ -1135,7 +1135,6 @@ static bool init_ldap_from_sam (struct ldapsam_privates *ldap_state,
                                                    enum pdb_elements))
 {
        char *temp = NULL;
-       uint32_t rid;
 
        if (mods == NULL || sampass == NULL) {
                DEBUG(0, ("init_ldap_from_sam: NULL parameters found!\n"));
@@ -1548,7 +1547,6 @@ static int ldapsam_get_ldap_user_by_sid(struct ldapsam_privates *ldap_state,
 {
        int rc = -1;
        const char ** attr_list;
-       uint32_t rid;
 
        switch ( ldap_state->schema_ver ) {
                case SCHEMAVER_SAMBASAMACCOUNT: {