diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-06-26 12:57:06 +0000 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2022-07-26 13:40:34 +0000 |
commit | 2129d352ae0d90867ebe8101529817a12223d5ee (patch) | |
tree | 8a9f738bf83de5665a570860567194c2544b0df5 | |
parent | 8908af569551def4e06c9aa179cf77e0beaa2638 (diff) | |
download | samba-2129d352ae0d90867ebe8101529817a12223d5ee.tar.gz |
s3:dbwrap_watch: remove unused dbwrap_watched_do_locked_state.status
This is never set...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | source3/lib/dbwrap/dbwrap_watch.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 88945f6ccc4..9d3e44a2728 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -383,7 +383,6 @@ struct dbwrap_watched_do_locked_state { TDB_DATA value, void *private_data); void *private_data; - NTSTATUS status; }; static void dbwrap_watched_do_locked_fn( @@ -427,10 +426,9 @@ static NTSTATUS dbwrap_watched_do_locked(struct db_context *db, TDB_DATA key, return status; } - DBG_DEBUG("dbwrap_watched_do_locked_fn returned %s\n", - nt_errstr(state.status)); + DBG_DEBUG("dbwrap_watched_do_locked_fn returned\n"); - return state.status; + return NT_STATUS_OK; } static void dbwrap_watched_record_wakeup( |