From 6f2c27d1de24c56e9aceb5060979a7dd72a5cba5 Mon Sep 17 00:00:00 2001 From: Zardosht Kasheff Date: Wed, 17 Apr 2013 00:00:28 -0400 Subject: [PATCH] [t:4872], fix warning git-svn-id: file:///svn/toku/tokudb@43441 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/ydb_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ydb_db.c b/src/ydb_db.c index 96a05a36e52..7e8261f4572 100644 --- a/src/ydb_db.c +++ b/src/ydb_db.c @@ -786,9 +786,9 @@ toku_db_set_indexer(DB *db, DB_INDEXER * indexer) { return r; } -DB_INDEXER * -toku_db_get_indexer(DB *db) { - return db->i->indexer; +static void +toku_db_get_indexer(DB *db, DB_INDEXER **indexer_ptr) { + *indexer_ptr = db->i->indexer; } struct ydb_verify_context {