mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
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>
This commit is contained in:
parent
8908af5695
commit
2129d352ae
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user