Skip to content
Snippets Groups Projects
Commit 4912385b authored by Tom Lane's avatar Tom Lane
Browse files

Suppress uninitialized-variable warning in new checksum code.

Some compilers understand that this coding is safe, and some don't.
parent 82b945c0
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ PageIsVerified(Page page, BlockNumber blkno) ...@@ -84,7 +84,7 @@ PageIsVerified(Page page, BlockNumber blkno)
bool checksum_failure = false; bool checksum_failure = false;
bool header_sane = false; bool header_sane = false;
bool all_zeroes = false; bool all_zeroes = false;
uint16 checksum; uint16 checksum = 0;
/* /*
* Don't verify page data unless the page passes basic non-zero test * Don't verify page data unless the page passes basic non-zero test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment