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:
Tom Lane 2013-03-22 12:27:50 -04:00
parent 82b945c097
commit 4912385b56
1 changed files with 1 additions and 1 deletions

View File

@ -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