s4-dsdb: Remove unused variables
authorAndrew Bartlett <abartlet@samba.org>
Sat, 1 Sep 2012 01:36:36 +0000 (11:36 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 1 Sep 2012 03:10:47 +0000 (05:10 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Sep  1 05:10:47 CEST 2012 on sn-devel-104

source4/dsdb/common/util.c

index a2ff688cfa707eec7c93028561d23d3a5763a146..086f2a5a1cec616cb3b2989b86e47ad0af151143 100644 (file)
@@ -1643,10 +1643,7 @@ int samdb_reference_dn_is_our_ntdsa(struct ldb_context *ldb, struct ldb_dn *base
 {
        int ret;
        struct ldb_dn *referenced_dn;
-       NTSTATUS status;
        TALLOC_CTX *tmp_ctx = talloc_new(ldb);
-       struct GUID referenced_guid;
-       const struct GUID *our_ntds_guid;
        if (tmp_ctx == NULL) {
                return LDB_ERR_OPERATIONS_ERROR;
        }