mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
r16069: Remove unused destructor and an unused variable.
Andrew Bartlett (This used to be commit 25e85975459acc556c0d46f1683dd4bbdd94874b)
This commit is contained in:
parent
7707d453c6
commit
e2e5c037f0
@ -108,7 +108,6 @@ static BOOL samldb_find_or_add_value(struct ldb_module *module, struct ldb_messa
|
||||
|
||||
static BOOL samldb_find_or_add_attribute(struct ldb_module *module, struct ldb_message *msg, const char *name, const char *set_value)
|
||||
{
|
||||
int j;
|
||||
struct ldb_message_element *el;
|
||||
|
||||
if (msg == NULL || name == NULL || set_value == NULL) {
|
||||
@ -857,16 +856,8 @@ static int samldb_add(struct ldb_module *module, struct ldb_request *req)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int samldb_destructor(void *module_ctx)
|
||||
{
|
||||
/* struct ldb_module *ctx = module_ctx; */
|
||||
/* put your clean-up functions here */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int samldb_init(struct ldb_module *module)
|
||||
{
|
||||
talloc_set_destructor(module, samldb_destructor);
|
||||
return ldb_next_init(module);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user