summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/block/block_write.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/block/block_write.c b/src/block/block_write.c
index 032f72d551b..4d01408d57d 100644
--- a/src/block/block_write.c
+++ b/src/block/block_write.c
@@ -236,6 +236,10 @@ __block_write_off(WT_SESSION_IMPL *session, WT_BLOCK *block,
uint32_t checksum;
bool local_locked;
+ *offsetp = 0; /* -Werror=maybe-uninitialized */
+ *sizep = 0; /* -Werror=maybe-uninitialized */
+ *checksump = 0; /* -Werror=maybe-uninitialized */
+
fh = block->fh;
/*