summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-12-23 14:34:48 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-12-23 14:34:48 -0500
commit90cef682588b4f6dcb5f4c7ec60d8d3cf8b53e80 (patch)
treedb8f2ffb738c46bdd17b41938d83831bb2eac9e2
parent20b2e05a55e963a6b7cf2a223a69d9d849a51f08 (diff)
downloadmongo-90cef682588b4f6dcb5f4c7ec60d8d3cf8b53e80.tar.gz
Fix compile warnings as errors
-rw-r--r--src/cursor/cur_log.c3
-rw-r--r--src/txn/txn_recover.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/cursor/cur_log.c b/src/cursor/cur_log.c
index 00352bd8d3b..dedc0f08d37 100644
--- a/src/cursor/cur_log.c
+++ b/src/cursor/cur_log.c
@@ -13,7 +13,8 @@
*/
static int
__curlog_logrec(
- WT_SESSION_IMPL *session, WT_ITEM *logrec, WT_LSN *lsnp, void *cookie)
+ WT_SESSION_IMPL *session, WT_ITEM *logrec, WT_LSN *lsnp, void *cookie,
+ int firstrecord)
{
WT_CURSOR_LOG *cl;
diff --git a/src/txn/txn_recover.c b/src/txn/txn_recover.c
index fb1c7abf742..3c9cf2e712c 100644
--- a/src/txn/txn_recover.c
+++ b/src/txn/txn_recover.c
@@ -266,7 +266,8 @@ __txn_commit_apply(
*/
static int
__txn_log_recover(
- WT_SESSION_IMPL *session, WT_ITEM *logrec, WT_LSN *lsnp, void *cookie)
+ WT_SESSION_IMPL *session, WT_ITEM *logrec, WT_LSN *lsnp, void *cookie,
+ int firstrecord)
{
WT_RECOVERY *r;
const uint8_t *end, *p;