summaryrefslogtreecommitdiff
path: root/src/cursor/cur_log.c
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-07-29 11:57:25 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-07-29 11:57:25 -0400
commita45314e982a662c6ff64261b2a408e9a548856da (patch)
treec4e25ea53bf0ecf74504078cf4e86ef61c833b62 /src/cursor/cur_log.c
parent7b0a8a2992b50bd7daf12ef7fc3ade8902bf0faa (diff)
downloadmongo-a45314e982a662c6ff64261b2a408e9a548856da.tar.gz
Clean up and fix warnings.
Diffstat (limited to 'src/cursor/cur_log.c')
-rw-r--r--src/cursor/cur_log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cursor/cur_log.c b/src/cursor/cur_log.c
index ff0dfdf31d7..8ce54b2f541 100644
--- a/src/cursor/cur_log.c
+++ b/src/cursor/cur_log.c
@@ -31,7 +31,7 @@ __curlog_logrec(
cl->logrec, logrec->data, logrec->size));
/*
* Skip the log header. We need to do the exact same calculation
- * to get the rectype out, so setup up the step cursor pointers.
+ * to get the record type out, so setup up the step cursor pointers.
*/
cl->stepp = (const uint8_t *)cl->logrec->data +
offsetof(WT_LOG_RECORD, record);
@@ -114,7 +114,6 @@ __curlog_stepkv(WT_SESSION_IMPL *session, WT_CURSOR *cursor)
WT_CURSOR_LOG *cl;
WT_ITEM opkey, opvalue;
uint32_t opsize, optype;
- size_t sz;
cl = (WT_CURSOR_LOG *)cursor;
/*
@@ -191,7 +190,6 @@ __curlog_next(WT_CURSOR *cursor)
WT_DECL_RET;
WT_ITEM opkey;
WT_SESSION_IMPL *session;
- uint32_t optype;
cl = (WT_CURSOR_LOG *)cursor;