From 484af8ed537c3ec33b4e1f10d851c2dee0ae8686 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 27 May 2020 17:08:51 +0200 Subject: Drop useless line from replicationCacheMaster(). --- src/replication.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/replication.c b/src/replication.c index 0484ec8a5..110f0e82d 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2756,8 +2756,6 @@ void replicationCacheMaster(client *c) { * pending outputs to the master. */ sdsclear(server.master->querybuf); sdsclear(server.master->pending_querybuf); - - server.master->reploff = server.master_repl_offset; server.master->read_reploff = server.master->reploff; if (c->flags & CLIENT_MULTI) discardTransaction(c); listEmpty(c->reply); -- cgit v1.2.1