From d29e48bb2e407701eaf3e733d76ff4a54e574e00 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 1 May 2014 14:12:35 -0400 Subject: [PATCH] fix compile warning --- table/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/format.cc b/table/format.cc index 8514f7ac3..fe7a06a5f 100644 --- a/table/format.cc +++ b/table/format.cc @@ -231,7 +231,7 @@ Status ReadBlockContents(RandomAccessFile* file, const char* data = contents.data(); // Pointer to where Read put the data if (options.verify_checksums) { uint32_t value = DecodeFixed32(data + n + 1); - uint32_t actual; + uint32_t actual = 0; switch (footer.checksum()) { case kCRC32c: value = crc32c::Unmask(value);