提交 cbb4795e 编写于 作者: T Tom Lane 提交者: Xin Zhang

Suppress uninitialized-variable warning in new checksum code.

Some compilers understand that this coding is safe, and some don't.

(cherry picked from commit 4912385b)
Signed-off-by: NTaylor Vesely <tvesely@pivotal.io>
上级 696816bb
......@@ -86,7 +86,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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册