diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-11-19 12:25:23 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-11-19 12:25:23 +1100 |
commit | 35c6df186a84ea2860491ddfe97eb23d538113ba (patch) | |
tree | 6c61518ee13f85e11556047b6c9e70b907a77ce6 /examples | |
parent | 20164037b36ab879ee8b82a5e3aec0494e072f72 (diff) | |
download | mongo-35c6df186a84ea2860491ddfe97eb23d538113ba.tar.gz |
ex_backup.c:58:29: error: unused parameter 'session'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_backup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/c/ex_backup.c b/examples/c/ex_backup.c index cccf5459234..afeeedb8345 100644 --- a/examples/c/ex_backup.c +++ b/examples/c/ex_backup.c @@ -55,7 +55,7 @@ static const char * const uri = "table:logtest"; #define MAX_KEYS 10000 static int -compare_backups(WT_SESSION *session, int i) +compare_backups(int i) { int ret; char buf[1024], msg[8]; @@ -312,7 +312,7 @@ main(void) */ ret = take_incr_backup(session, i); - ret = compare_backups(session, i); + ret = compare_backups(i); } /* @@ -320,6 +320,6 @@ main(void) * comparison between the incremental and original. */ ret = wt_conn->close(wt_conn, NULL); - ret = compare_backups(session, 0); + ret = compare_backups(0); return (ret); } |