aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/slotfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/replication/slotfuncs.c')
-rw-r--r--src/backend/replication/slotfuncs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c
index f88694672fb..1725ad0736f 100644
--- a/src/backend/replication/slotfuncs.c
+++ b/src/backend/replication/slotfuncs.c
@@ -518,9 +518,6 @@ pg_logical_replication_slot_advance(XLogRecPtr moveto)
*/
XLogBeginRead(ctx->reader, MyReplicationSlot->data.restart_lsn);
- /* Initialize our return value in case we don't do anything */
- retlsn = MyReplicationSlot->data.confirmed_flush;
-
/* invalidate non-timetravel entries */
InvalidateSystemCaches();