summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-01-16 15:53:42 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-01-16 15:53:42 -0500
commit0be45a41302b39adc4d0c8c1595ce35a4282cd94 (patch)
treea4de551831c4c44f302051c2096449ca2ec9cc23
parent2bd04ab9f9d841a525a21612b90a835a9c517985 (diff)
downloadmongo-0be45a41302b39adc4d0c8c1595ce35a4282cd94.tar.gz
Flexelint: symbol 'close_lsn' (line 862) not accessed.
-rw-r--r--src/log/log.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/log/log.c b/src/log/log.c
index b2631a73946..c1d4fb113e8 100644
--- a/src/log/log.c
+++ b/src/log/log.c
@@ -859,7 +859,7 @@ __log_release(WT_SESSION_IMPL *session, WT_LOGSLOT *slot)
WT_CONNECTION_IMPL *conn;
WT_DECL_RET;
WT_LOG *log;
- WT_LSN close_lsn, sync_lsn;
+ WT_LSN sync_lsn;
size_t write_size;
int locked;
WT_DECL_SPINLOCK_ID(id); /* Must appear last */
@@ -868,12 +868,6 @@ __log_release(WT_SESSION_IMPL *session, WT_LOGSLOT *slot)
log = conn->log;
locked = 0;
- /*
- * If we're going to have to close our log file, make a local copy
- * of the file handle structure.
- */
- WT_INIT_LSN(&close_lsn);
-
/* Write the buffered records */
if (F_ISSET(slot, SLOT_BUFFERED)) {
write_size = (size_t)