[Groonga-commit] groonga/groonga at 5b12c29 [master] ii: suppress a "may be uninitialized" warning

Back to archive index
Kouhei Sutou null+****@clear*****
Tue Mar 19 14:16:17 JST 2019


Kouhei Sutou	2019-03-19 14:16:17 +0900 (Tue, 19 Mar 2019)

  Revision: 5b12c29ed8b8e845f732f42c3c12521ab60c11b7
  https://github.com/groonga/groonga/commit/5b12c29ed8b8e845f732f42c3c12521ab60c11b7

  Message:
    ii: suppress a "may be uninitialized" warning

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+1 -1)
===================================================================
--- lib/ii.c    2019-03-19 09:49:41 +0900 (9c6c5526e)
+++ lib/ii.c    2019-03-19 14:16:17 +0900 (ab7dfc853)
@@ -2872,7 +2872,7 @@ merge_dump_source_chunk_raw(grn_ctx *ctx,
     uint32_t *record_id_gaps;
     uint32_t *section_id_gaps = NULL;
     uint32_t *n_terms_list;
-    uint32_t *weights;
+    uint32_t *weights = NULL;
     uint32_t *position_gaps = NULL;
 
     {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190319/4a301c5f/attachment.html>


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