Suppress uninitialized-variable warning in new checksum code.

Some compilers understand that this coding is safe, and some don't.
pull/4/head
Tom Lane 13 years ago
parent 82b945c097
commit 4912385b56
  1. 2
      src/backend/storage/page/bufpage.c

@ -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…
Cancel
Save