summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);