mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r20189: remove unused struct element
metze
This commit is contained in:
parent
70c4a36743
commit
d20d1872d5
@ -340,7 +340,6 @@ static NTSTATUS ldapsrv_ModifyRequest(struct ldapsrv_call *call)
|
||||
NT_STATUS_HAVE_NO_MEMORY(msg);
|
||||
|
||||
msg->dn = dn;
|
||||
msg->private_data = NULL;
|
||||
msg->num_elements = 0;
|
||||
msg->elements = NULL;
|
||||
|
||||
@ -444,7 +443,6 @@ static NTSTATUS ldapsrv_AddRequest(struct ldapsrv_call *call)
|
||||
NT_STATUS_HAVE_NO_MEMORY(msg);
|
||||
|
||||
msg->dn = dn;
|
||||
msg->private_data = NULL;
|
||||
msg->num_elements = 0;
|
||||
msg->elements = NULL;
|
||||
|
||||
|
@ -544,7 +544,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb,
|
||||
msg->dn = NULL;
|
||||
msg->elements = NULL;
|
||||
msg->num_elements = 0;
|
||||
msg->private_data = NULL;
|
||||
|
||||
chunk = next_chunk(ldb, fgetc_fn, private_data);
|
||||
if (!chunk) {
|
||||
@ -552,7 +551,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb,
|
||||
}
|
||||
talloc_steal(ldif, chunk);
|
||||
|
||||
msg->private_data = chunk;
|
||||
s = chunk;
|
||||
|
||||
if (next_attr(ldif, &s, &attr, &value) != 0) {
|
||||
|
@ -455,7 +455,6 @@ struct ldb_message *ldb_msg_copy_shallow(TALLOC_CTX *mem_ctx,
|
||||
if (msg2 == NULL) return NULL;
|
||||
|
||||
*msg2 = *msg;
|
||||
msg2->private_data = NULL;
|
||||
|
||||
msg2->elements = talloc_array(msg2, struct ldb_message_element,
|
||||
msg2->num_elements);
|
||||
|
@ -156,7 +156,6 @@ struct ldb_message {
|
||||
struct ldb_dn *dn;
|
||||
unsigned int num_elements;
|
||||
struct ldb_message_element *elements;
|
||||
void *private_data; /* private to the backend */
|
||||
};
|
||||
|
||||
enum ldb_changetype {
|
||||
|
Loading…
x
Reference in New Issue
Block a user