From bbb4068c933ecc043025633a13c62bf04eaf6d49 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 24 Nov 2012 14:51:02 +0000 Subject: dbwrap: Use tdb_null in db_ctdb_delete Signed-off-by: Volker Lendecke Reviewed-by: Christian Ambach Autobuild-User(master): Christian Ambach Autobuild-Date(master): Mon Mar 25 19:42:30 CET 2013 on sn-devel-104 --- source3/lib/dbwrap/dbwrap_ctdb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index a6f49b80c0..399c8503d9 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -912,7 +912,6 @@ static NTSTATUS db_ctdb_send_schedule_for_deletion(struct db_record *rec) static NTSTATUS db_ctdb_delete(struct db_record *rec) { - TDB_DATA data; NTSTATUS status; /* @@ -920,9 +919,7 @@ static NTSTATUS db_ctdb_delete(struct db_record *rec) * tdb-level cleanup */ - ZERO_STRUCT(data); - - status = db_ctdb_store(rec, data, 0); + status = db_ctdb_store(rec, tdb_null, 0); if (!NT_STATUS_IS_OK(status)) { return status; } -- cgit