[Groonga-commit] groonga/groonga [master] Add missing initial value for grn_table_sort_optarg

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 4日 (日) 16:20:54 JST


Kouhei Sutou	2012-03-04 16:20:54 +0900 (Sun, 04 Mar 2012)

  New Revision: 3f29091a9639b3e60b63de112f1f87c306cf3ebb

  Log:
    Add missing initial value for grn_table_sort_optarg

  Modified files:
    lib/hash.c

  Modified: lib/hash.c (+1 -1)
===================================================================
--- lib/hash.c    2012-03-04 16:18:00 +0900 (e30f1f0)
+++ lib/hash.c    2012-03-04 16:20:54 +0900 (6970094)
@@ -2122,7 +2122,7 @@ grn_hash_sort(grn_ctx *ctx, grn_hash *hash,
       sort(ctx, hash, res, limit, optarg, dir);
     }
   } else {
-    grn_table_sort_optarg opt = {0, NULL, NULL, 0};
+    grn_table_sort_optarg opt = {0, NULL, NULL, NULL, 0};
     sort(ctx, hash, res, limit, &opt, 0);
   }
   {




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