summaryrefslogtreecommitdiff
path: root/src/block/block_ckpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_ckpt.c')
-rw-r--r--src/block/block_ckpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/block_ckpt.c b/src/block/block_ckpt.c
index d744e10539f..64d0283a8a3 100644
--- a/src/block/block_ckpt.c
+++ b/src/block/block_ckpt.c
@@ -53,8 +53,6 @@ __wt_block_checkpoint_load(WT_SESSION_IMPL *session, WT_BLOCK *block,
WT_DECL_RET;
uint8_t *endp;
- ci = NULL;
-
/*
* Sometimes we don't find a root page (we weren't given a checkpoint,
* or the checkpoint was empty). In that case we return an empty root
@@ -62,6 +60,8 @@ __wt_block_checkpoint_load(WT_SESSION_IMPL *session, WT_BLOCK *block,
*/
*root_addr_sizep = 0;
+ ci = NULL;
+
#ifdef HAVE_VERBOSE
if (WT_VERBOSE_ISSET(session, WT_VERB_CHECKPOINT)) {
if (addr != NULL) {