mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Suppress uninitialized-variable warning in new checksum code.
Some compilers understand that this coding is safe, and some don't.
This commit is contained in:
parent
82b945c097
commit
4912385b56
@ -84,7 +84,7 @@ PageIsVerified(Page page, BlockNumber blkno)
|
||||
bool checksum_failure = false;
|
||||
bool header_sane = false;
|
||||
bool all_zeroes = false;
|
||||
uint16 checksum;
|
||||
uint16 checksum = 0;
|
||||
|
||||
/*
|
||||
* Don't verify page data unless the page passes basic non-zero test
|
||||
|
Loading…
Reference in New Issue
Block a user