From 5405b75a34d36344a48c6a204144cead812a42e8 Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Wed, 17 Apr 2013 00:01:09 -0400 Subject: [PATCH] refs #5368 make db-insert mark things unused in a less offensive way to clang git-svn-id: file:///svn/toku/tokudb@48192 c7de825b-a66e-492c-adef-691d508d4ae1 --- examples/db-insert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/db-insert.c b/examples/db-insert.c index b548a56ed41..c9432c94ae1 100644 --- a/examples/db-insert.c +++ b/examples/db-insert.c @@ -79,7 +79,7 @@ static void do_prelock(DB* db, DB_TXN* txn) { int r = db->pre_acquire_table_lock(db, txn); assert(r==0); #else - db = db; txn = txn; + (void) db; (void) txn; #endif } }