[Groonga-commit] groonga/groonga at 36ad08f [master] Ensure initializing format

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 21 15:47:03 JST 2014


Kouhei Sutou	2014-07-21 15:47:03 +0900 (Mon, 21 Jul 2014)

  New Revision: 36ad08f5faf1f1d5ef92993799e84637c8cdb4fa
  https://github.com/groonga/groonga/commit/36ad08f5faf1f1d5ef92993799e84637c8cdb4fa

  Message:
    Ensure initializing format

  Modified files:
    lib/output.c

  Modified: lib/output.c (+1 -1)
===================================================================
--- lib/output.c    2014-07-21 15:46:45 +0900 (1d44bc2)
+++ lib/output.c    2014-07-21 15:47:03 +0900 (de5001b)
@@ -580,7 +580,7 @@ grn_text_atoj(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type,
   } else {
     grn_obj_format *format_argument = NULL;
     grn_obj_format format;
-    format.flags = 0;
+    GRN_OBJ_FORMAT_INIT(&format, 0, 0, 0, 0);
     switch (obj->header.type) {
     case GRN_COLUMN_FIX_SIZE :
       GRN_VALUE_FIX_SIZE_INIT(&buf, 0, DB_OBJ(obj)->range);
-------------- next part --------------
HTML����������������������������...
Download 



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