Silence assorted "variable may be used uninitialized" warnings.
All of these are false positives, but in each case a fair amount of
analysis is needed to see that, and it's not too surprising that not all
compilers are smart enough. (In particular, in the logtape.c case, a
compiler lacking the knowledge provided by the Assert would almost surely
complain, so that this warning will be seen in any non-assert build.)
Some of these are of long standing while others are pretty recent,
but it only seems worth fixing them in HEAD.
Jaime Casanova, tweaked a bit by me
src/backend/access/transam/xloginsert.c | 2 +-
src/backend/catalog/objectaddress.c | 2 ++
src/backend/utils/sort/logtape.c | 2 +-
src/bin/pgbench/pgbench.c | 7 ++++---
4 files changed, 8 insertions(+), 5 deletions(-)