[Groonga-commit] groonga/groonga at 023e224 [master] Add missing initialization by NULL

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 24 17:25:01 JST 2013


Kouhei Sutou	2013-09-24 17:25:01 +0900 (Tue, 24 Sep 2013)

  New Revision: 023e224255062a8ce7cc79f4f49bc9d954322b84
  https://github.com/groonga/groonga/commit/023e224255062a8ce7cc79f4f49bc9d954322b84

  Message:
    Add missing initialization by NULL

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2013-09-24 17:06:54 +0900 (f3754d1)
+++ lib/db.c    2013-09-24 17:25:01 +0900 (2983084)
@@ -1539,7 +1539,7 @@ delete_reference_records_in_index(grn_ctx *ctx, grn_obj *table, grn_id id,
                                   grn_obj *index)
 {
   grn_ii *ii = (grn_ii *)index;
-  grn_ii_cursor *ii_cursor;
+  grn_ii_cursor *ii_cursor = NULL;
   grn_ii_posting *posting;
   grn_obj source_ids;
   unsigned int i, n_ids;
-------------- next part --------------
HTML����������������������������...
Download 



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