[Groonga-commit] groonga/groonga at 8b73383 [master] Remove needless "-1"

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 19 14:54:02 JST 2015


Kouhei Sutou	2015-10-19 14:54:02 +0900 (Mon, 19 Oct 2015)

  New Revision: 8b73383e677dd2c75ce1f9d369b11c8aa68515be
  https://github.com/groonga/groonga/commit/8b73383e677dd2c75ce1f9d369b11c8aa68515be

  Message:
    Remove needless "-1"

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+1 -1)
===================================================================
--- lib/proc.c    2015-10-19 14:46:23 +0900 (4e4a661)
+++ lib/proc.c    2015-10-19 14:54:02 +0900 (9ef9f43)
@@ -7334,7 +7334,7 @@ proc_schema_types(grn_ctx *ctx)
   GRN_OUTPUT_CSTR("types");
 
   n = GRN_BULK_VSIZE(&types) / sizeof(grn_obj *);
-  GRN_OUTPUT_ARRAY_OPEN("types", n - 1);
+  GRN_OUTPUT_ARRAY_OPEN("types", n);
   for (i = 0; i < n; i++) {
     grn_obj *type;
 
-------------- next part --------------
HTML����������������������������...
Download 



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