diff options
author | Robert Haas <rhaas@postgresql.org> | 2023-12-27 08:41:53 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2023-12-27 08:45:23 -0500 |
commit | da083b20f63739130dd65d8f0ca4a49b6db31cfe (patch) | |
tree | 23e366c65341b75cfc74f61d2c5702d7ae4f03e9 /src/backend/access/transam/xlog.c | |
parent | 7e6fb5da41d8ee1bddcd5058b7204018ef68d193 (diff) | |
download | postgresql-da083b20f63739130dd65d8f0ca4a49b6db31cfe.tar.gz postgresql-da083b20f63739130dd65d8f0ca4a49b6db31cfe.zip |
Initialize variable to placate compiler.
I don't think there's a real problem here, because if we reach
the loop over 'tles' then we will either find at least one
TimeLineHistoryEntry such that oldest_segno != 0, in which case
unsummarized_lsn will be initialized, or else unsummarized_tli
will remain 0 and an error will occur before unsummarized_lsn
is used for anything. But some compilers are complainining, as
reported on list by Nathan Bossart and off-list by Andrew Dunstan.
Discussion: http://postgr.es/m/20231223215147.GA69623@nathanxps13
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions