forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitda083b2
committed
Initialize variable to placate compiler.
I don't think there's a real problem here, because if we reachthe loop over 'tles' then we will either find at least oneTimeLineHistoryEntry such that oldest_segno != 0, in which caseunsummarized_lsn will be initialized, or else unsummarized_tliwill remain 0 and an error will occur before unsummarized_lsnis used for anything. But some compilers are complainining, asreported on list by Nathan Bossart and off-list by Andrew Dunstan.Discussion:http://postgr.es/m/20231223215147.GA69623@nathanxps131 parent7e6fb5d commitda083b2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
441 |
| - | |
| 441 | + | |
442 | 442 |
| |
443 | 443 |
| |
444 | 444 |
| |
|
0 commit comments
Comments
(0)