diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-06 22:32:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:56 -0500 |
commit | e2e5c037f09fe3480cb9fb14085bde1ee53b2252 (patch) | |
tree | 32cfce09e5a7ab0cf74642e43511dcef27135514 | |
parent | 7707d453c61c7b2639f0da013163584c3d5074d0 (diff) | |
download | samba-e2e5c037f09fe3480cb9fb14085bde1ee53b2252.tar.gz samba-e2e5c037f09fe3480cb9fb14085bde1ee53b2252.tar.bz2 samba-e2e5c037f09fe3480cb9fb14085bde1ee53b2252.zip |
r16069: Remove unused destructor and an unused variable.
Andrew Bartlett
(This used to be commit 25e85975459acc556c0d46f1683dd4bbdd94874b)
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 464d08068f..e822bba842 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -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); } |