From 35c6df186a84ea2860491ddfe97eb23d538113ba Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Wed, 19 Nov 2014 12:25:23 +1100 Subject: ex_backup.c:58:29: error: unused parameter 'session' --- examples/c/ex_backup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') 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); } -- cgit v1.2.1