[Groonga-commit] groonga/groonga [master] Remove an unused argument from grn_array_create_io_array().

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 30日 (金) 10:29:38 JST


Susumu Yata	2012-03-30 10:29:38 +0900 (Fri, 30 Mar 2012)

  New Revision: 03db662d4deef3c28cf42e7c54514d8f220e3b25

  Log:
    Remove an unused argument from grn_array_create_io_array().

  Modified files:
    lib/hash.c

  Modified: lib/hash.c (+2 -3)
===================================================================
--- lib/hash.c    2012-03-30 10:24:07 +0900 (30683ba)
+++ lib/hash.c    2012-03-30 10:29:38 +0900 (84f62d0)
@@ -263,8 +263,7 @@ grn_array_init_tiny_array(grn_ctx *ctx, grn_array *array, const char *path,
 }
 
 static grn_io *
-grn_array_create_io_array(grn_ctx *ctx, grn_array *array, const char *path,
-                          uint32_t value_size)
+grn_array_create_io_array(grn_ctx *ctx, const char *path, uint32_t value_size)
 {
   uint32_t w_of_element = 0;
   grn_io_array_spec array_spec[2];
@@ -289,7 +288,7 @@ grn_array_init_io_array(grn_ctx *ctx, grn_array *array, const char *path,
   grn_io *io;
   struct grn_array_header *header;
 
-  io = grn_array_create_io_array(ctx, array, path, value_size);
+  io = grn_array_create_io_array(ctx, path, value_size);
   if (!io) {
     return ctx->rc;
   }




Groonga-commit メーリングリストの案内
Back to archive index