summaryrefslogtreecommitdiff
path: root/src/btree/bt_sync.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-07-25 17:18:38 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-07-25 17:18:38 -0400
commit7a3917d39f1707c8b7f53957038e8bacd85fe9c5 (patch)
treee4a2a57693368e0a61ca5fd74c118e21d892733d /src/btree/bt_sync.c
parent0155afa56cc2350db45d3a919ecee7cb84d1a99e (diff)
downloadmongo-7a3917d39f1707c8b7f53957038e8bacd85fe9c5.tar.gz
Swap out WT_ERR for WT_RET, there's no cleanup needed.
Diffstat (limited to 'src/btree/bt_sync.c')
-rw-r--r--src/btree/bt_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_sync.c b/src/btree/bt_sync.c
index d4c6a577b9c..a6e0288aa15 100644
--- a/src/btree/bt_sync.c
+++ b/src/btree/bt_sync.c
@@ -32,7 +32,7 @@ __sync_file(WT_SESSION_IMPL *session, int syncop)
internal_bytes = leaf_bytes = 0;
internal_pages = leaf_pages = 0;
if (WT_VERBOSE_ISSET(session, WT_VERB_CHECKPOINT))
- WT_ERR(__wt_epoch(session, &start));
+ WT_RET(__wt_epoch(session, &start));
switch (syncop) {
case WT_SYNC_WRITE_LEAVES: