[Groonga-commit] groonga/groonga [master] Remove an unused variable

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Nov 9 13:56:28 JST 2012


Kouhei Sutou	2012-11-09 13:56:28 +0900 (Fri, 09 Nov 2012)

  New Revision: a135d1c97bae301e5933481888bedc0819d40985
  https://github.com/groonga/groonga/commit/a135d1c97bae301e5933481888bedc0819d40985

  Log:
    Remove an unused variable

  Modified files:
    test/unit/core/test-tokenizer.c

  Modified: test/unit/core/test-tokenizer.c (+0 -3)
===================================================================
--- test/unit/core/test-tokenizer.c    2012-11-09 13:56:02 +0900 (85da507)
+++ test/unit/core/test-tokenizer.c    2012-11-09 13:56:28 +0900 (46903e1)
@@ -30,20 +30,17 @@ void test_have_delimiter(gconstpointer data);
 
 static grn_ctx context;
 static grn_obj *db;
-static grn_obj buffer;
 
 void
 setup (void)
 {
   grn_ctx_init(&context, GRN_CTX_USE_QL);
   db = grn_db_create(&context, NULL, NULL);
-  GRN_VOID_INIT(&buffer);
 }
 
 void
 teardown (void)
 {
-  GRN_OBJ_FIN(&context, &buffer);
   grn_obj_unlink(&context, db);
   grn_ctx_fin(&context);
 }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index