s4-acl: Remove unused variables from aclread module.
[metze/samba/wip.git] / source4 / dsdb / samdb / ldb_modules / acl_read.c
index 5ee7c951305bbcdeea408a1018799eb2d4ae7083..87144f92c49d96275b017a8de2a2e6c9111e1104 100644 (file)
@@ -57,14 +57,6 @@ static int aclread_callback(struct ldb_request *req, struct ldb_reply *ares)
 {
         struct ldb_context *ldb;
         struct aclread_context *ac;
-        struct ldb_result *acl_res;
-        struct ldb_message_element *parent;
-        static const char *acl_attrs[] = {
-                "nTSecurityDescriptor",
-                "objectSid",
-                "instanceType",
-                NULL
-        };
         int ret;
         unsigned int i;
         struct security_descriptor *sd;