summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-10-17 09:48:05 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-10-17 09:48:05 +0000
commit1a6399259d757447f64529e4a39b1824d4b9d09d (patch)
tree75c07ec4b65402ac19812626bab3ed47185c9d34
parent78c836a4e121c7399d023139aeb3895a2aa86245 (diff)
downloadmongo-1a6399259d757447f64529e4a39b1824d4b9d09d.tar.gz
lint, don't ignore function return value.
-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 89375997dac..11e06b721a5 100644
--- a/src/block/block_ckpt.c
+++ b/src/block/block_ckpt.c
@@ -346,7 +346,7 @@ __ckpt_process(
* extent blocks if there is more than one deleted checkpoint).
*/
if (ckpt->bpriv == NULL)
- __ckpt_extlist_read(session, block, ckpt);
+ WT_ERR(__ckpt_extlist_read(session, block, ckpt));
for (next_ckpt = ckpt + 1;; ++next_ckpt)
if (!F_ISSET(next_ckpt, WT_CKPT_FAKE))
@@ -358,7 +358,7 @@ __ckpt_process(
*/
if (next_ckpt->bpriv == NULL &&
!F_ISSET(next_ckpt, WT_CKPT_ADD))
- __ckpt_extlist_read(session, block, next_ckpt);
+ WT_ERR(__ckpt_extlist_read(session, block, next_ckpt));
}
/*