summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-08-11 13:28:42 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-08-11 13:28:59 -0400
commitc3c6ca253d453bbff7e6ad7a497da4c0394f9d4e (patch)
treee0dafce07e3533955be8330361aa7ec8e8029780
parent068945ae96e0fabe38beb26272ba41e58658929d (diff)
downloadmongo-c3c6ca253d453bbff7e6ad7a497da4c0394f9d4e.tar.gz
Remove an initialization of ret, it's not needed.
-rw-r--r--src/conn/conn_dhandle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/conn/conn_dhandle.c b/src/conn/conn_dhandle.c
index 05450147349..59de6dd38da 100644
--- a/src/conn/conn_dhandle.c
+++ b/src/conn/conn_dhandle.c
@@ -484,7 +484,6 @@ __wt_conn_btree_apply_single(WT_SESSION_IMPL *session,
* confirm the handle is still open.
*/
__wt_spin_lock(session, &dhandle->close_lock);
- ret = 0;
if (F_ISSET(dhandle, WT_DHANDLE_OPEN)) {
session->dhandle = dhandle;
ret = func(session, cfg);