summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-07-25 17:17:27 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-07-25 17:17:27 -0400
commit0155afa56cc2350db45d3a919ecee7cb84d1a99e (patch)
tree7b994e55ff74d967eaf4353a55ccc293f1182eb6
parent810d82e8ddb6574ad2a8a8792140e0cbb82106d1 (diff)
downloadmongo-0155afa56cc2350db45d3a919ecee7cb84d1a99e.tar.gz
Remove unused temporary buffer.
-rw-r--r--src/txn/txn_ckpt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c
index 46b55682964..f910392a274 100644
--- a/src/txn/txn_ckpt.c
+++ b/src/txn/txn_ckpt.c
@@ -182,7 +182,6 @@ __wt_txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[])
{
WT_CONNECTION_IMPL *conn;
WT_DATA_HANDLE *dhandle;
- WT_DECL_ITEM(tmp);
WT_DECL_RET;
WT_TXN *txn;
WT_TXN_ISOLATION saved_isolation;
@@ -313,7 +312,6 @@ err: /*
__wt_spin_unlock(session, &conn->checkpoint_lock);
- __wt_scr_free(&tmp);
session->isolation = txn->isolation = saved_isolation;
WT_STAT_FAST_CONN_SET(session, txn_checkpoint_running, 0);