Fix compiler warning
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 24 Mar 2020 15:01:06 +0000 (16:01 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 24 Mar 2020 15:02:01 +0000 (16:02 +0100)
commitcef27ae01ac872355b2bd56c0882aafe5c6f08de
tree8d626dc09d6009fcfcd455c885d3a1f41c4c231b
parentab3e4fbd5421e9b3203de9ebf6a741eebab2ab94
Fix compiler warning

A variable was unused in non-assert builds.  Simplify the code to
avoid the issue.

Reported-by: Erik Rijkers <er@xs4all.nl>
src/backend/replication/logical/worker.c