Unverified Commit dac93066 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Delete leftover assignment in raft_set_snapshot_metadata() (#92)

parent eb859a67
......@@ -270,8 +270,6 @@ void raft_set_snapshot_metadata(raft_server_t *me_, raft_term_t term, raft_index
{
raft_server_private_t* me = (raft_server_private_t*)me_;
me->last_applied_idx = idx;
me->next_snapshot_last_term = me->snapshot_last_term;
me->next_snapshot_last_idx = me->snapshot_last_idx;
me->snapshot_last_term = term;
me->snapshot_last_idx = idx;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment