null+****@clear*****
null+****@clear*****
2010年 11月 21日 (日) 13:25:10 JST
Kouhei Sutou 2010-11-21 04:25:10 +0000 (Sun, 21 Nov 2010)
New Revision: 8f3cec7748ed921cd5cf2485af6d3b1c1682ed3c
Log:
remove garbages.
Modified files:
test/unit/core/test-inverted-index.c
Modified: test/unit/core/test-inverted-index.c (+1 -15)
===================================================================
--- test/unit/core/test-inverted-index.c 2010-11-21 04:07:25 +0000 (15aca3c)
+++ test/unit/core/test-inverted-index.c 2010-11-21 04:25:10 +0000 (c5a3349)
@@ -49,9 +49,6 @@ static grn_obj *db;
static grn_obj *type;
static grn_obj *lexicon;
static grn_ii *inverted_index;
-/*
-static grn_vgram *vgram;
-*/
void
cut_startup(void)
@@ -76,7 +73,7 @@ remove_tmp_directory(void)
void
cut_setup(void)
{
- gchar *table_path, *vgram_path;
+ gchar *table_path;
const gchar *type_name, *table_name;
cut_set_fixture_data_dir(grn_test_get_base_dir(),
@@ -117,12 +114,6 @@ cut_setup(void)
g_free(table_path);
- vgram_path = g_build_filename(tmp_directory, "vgram", NULL);
-/*
- vgram = grn_vgram_create(vgram_path);
-*/
- g_free(vgram_path);
-
inverted_index = NULL;
}
@@ -164,11 +155,6 @@ cut_teardown(void)
g_free(context);
}
-/*
- if (vgram)
- grn_vgram_close(vgram);
-*/
-
if (path) {
g_free(path);
path = NULL;