[t:4872], fix warning

git-svn-id: file:///svn/toku/tokudb@43441 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:00:28 -04:00 committed by Yoni Fogel
parent e057b9ad8c
commit 6f2c27d1de

View file

@ -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 {