summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/wrepl_server/wrepl_out_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_out_helpers.c b/source4/wrepl_server/wrepl_out_helpers.c
index 968c2fdc37a..ff2dd12cd5b 100644
--- a/source4/wrepl_server/wrepl_out_helpers.c
+++ b/source4/wrepl_server/wrepl_out_helpers.c
@@ -569,7 +569,7 @@ static void wreplsrv_pull_cycle_handler_req(struct wrepl_request *req);
static NTSTATUS wreplsrv_pull_cycle_next_owner_do_work(struct wreplsrv_pull_cycle_state *state)
{
- struct wreplsrv_owner *current_owner;
+ struct wreplsrv_owner *current_owner=NULL;
struct wreplsrv_owner *local_owner;
uint32_t i;
uint64_t old_max_version = 0;