diff options
| author | Tom Lane | 2020-09-04 22:17:47 +0000 |
|---|---|---|
| committer | Tom Lane | 2020-09-05 00:33:36 +0000 |
| commit | 9a851039aac6fc7b78a80e60699e7bd8924b6f12 (patch) | |
| tree | c6b43c19fb18c48cc84084d84016635fae057871 /src/backend/replication | |
| parent | 0852006a946aa9795b4913bccebb88d623942ca6 (diff) | |
Remove still more useless assignments.
Fix some more things scan-build pointed to as dead stores. In some of
these cases, rearranging the code a little leads to more readable
code IMO. It's all cosmetic, though.
Discussion: https://postgr.es/m/CAEudQAo1+AcGppxDSg8k+zF4+Kv+eJyqzEDdbpDg58-=MQcerQ@mail.gmail.com
Diffstat (limited to 'src/backend/replication')
| -rw-r--r-- | src/backend/replication/slotfuncs.c | 3 |
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(); |
