[Groonga-commit] groonga/groonga [master] Add missing initialization of set_.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 31日 (木) 10:04:58 JST


Daijiro MORI	2012-05-31 10:04:58 +0900 (Thu, 31 May 2012)

  New Revision: b1780d6ea430fd3ad599a0d1ca89c98810520886

  Log:
    Add missing initialization of set_.

  Modified files:
    plugins/table/table.c

  Modified: plugins/table/table.c (+1 -1)
===================================================================
--- plugins/table/table.c    2012-05-30 18:48:04 +0900 (9f3eeec)
+++ plugins/table/table.c    2012-05-31 10:04:58 +0900 (02666e4)
@@ -82,7 +82,7 @@ command_find(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)
   const char *set_op = GRN_TEXT_VALUE(VAR(5));
   unsigned int set_op_len = GRN_TEXT_LEN(VAR(5));
   */
-  grn_obj *set_;
+  grn_obj *set_ = NULL;
   grn_obj *table_ = grn_ctx_get_table_by_name_or_id(ctx, table, table_len);
   if (table_) {
     if (columns_len) {




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