From 11fb55e8a478eed8d2496dee4b2a9cf5a3619454 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 8 Mar 2008 08:58:41 +0100 Subject: opendb_tdb: correctly initialize modified to false Otherwise this variable would never change its value... metze (This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b) --- source4/ntvfs/common/opendb_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntvfs/common') diff --git a/source4/ntvfs/common/opendb_tdb.c b/source4/ntvfs/common/opendb_tdb.c index f71416ec83..a800cdbd7c 100644 --- a/source4/ntvfs/common/opendb_tdb.c +++ b/source4/ntvfs/common/opendb_tdb.c @@ -641,7 +641,7 @@ static NTSTATUS odb_tdb_break_oplocks(struct odb_lock *lck) NTSTATUS status; struct opendb_file file; int i; - bool modified = true; + bool modified = false; status = odb_pull_record(lck, &file); if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) { -- cgit