summaryrefslogtreecommitdiff
path: root/lib/dbwrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-11-29 15:03:20 +0100
committerMichael Adam <obnox@samba.org>2012-11-29 18:27:37 +0100
commitc7af12dd30f9670806b161b94d91b741d06813e2 (patch)
treee4bd440a3517adc8f0df3b000f3d3d41a41cb885 /lib/dbwrap
parenta02251333fc185aee176b565a85fd42e9ff4cfbc (diff)
downloadsamba-c7af12dd30f9670806b161b94d91b741d06813e2.tar.gz
samba-c7af12dd30f9670806b161b94d91b741d06813e2.tar.bz2
samba-c7af12dd30f9670806b161b94d91b741d06813e2.zip
dbwrap: No need to NULL out a talloc_zero'ed structure element
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r--lib/dbwrap/dbwrap_tdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_tdb.c b/lib/dbwrap/dbwrap_tdb.c
index a3a6c878a5..f9c7ba46c4 100644
--- a/lib/dbwrap/dbwrap_tdb.c
+++ b/lib/dbwrap/dbwrap_tdb.c
@@ -473,7 +473,6 @@ struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx,
result->wipe = db_tdb_wipe;
result->id = db_tdb_id;
result->check = db_tdb_check;
- result->stored_callback = NULL;
result->name = tdb_name(db_tdb->wtdb->tdb);
result->hash_size = hash_size;
return result;