[Groonga-mysql-commit] mroonga/mroonga at 3baa94f [master] Ensure initializing variables

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 2 21:08:21 JST 2015


Kouhei Sutou	2015-06-02 21:08:21 +0900 (Tue, 02 Jun 2015)

  New Revision: 3baa94f8ec4b943433fd41b7642d750bd923f51e
  https://github.com/mroonga/mroonga/commit/3baa94f8ec4b943433fd41b7642d750bd923f51e

  Message:
    Ensure initializing variables

  Modified files:
    mrn_table.cpp

  Modified: mrn_table.cpp (+2 -2)
===================================================================
--- mrn_table.cpp    2015-06-02 12:31:27 +0900 (49245a6)
+++ mrn_table.cpp    2015-06-02 21:08:21 +0900 (0772eda)
@@ -341,8 +341,8 @@ int mrn_parse_table_param(MRN_SHARE *share, TABLE *table)
   for (i = 2; i > 0; i--)
 #endif
   {
-    const char *params_string_value;
-    uint params_string_length;
+    const char *params_string_value = NULL;
+    uint params_string_length = 0;
     switch (i)
     {
 #ifdef WITH_PARTITION_STORAGE_ENGINE
-------------- next part --------------
HTML����������������������������...
Download 



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