[Groonga-mysql-commit] mroonga/mroonga at 00256c4 [master] Suppress an "unused variable" warning

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 19 22:16:36 JST 2017


Kouhei Sutou	2017-07-19 22:16:36 +0900 (Wed, 19 Jul 2017)

  New Revision: 00256c4daced1372b484733986470dfbed8fd3bd
  https://github.com/mroonga/mroonga/commit/00256c4daced1372b484733986470dfbed8fd3bd

  Message:
    Suppress an "unused variable" warning

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -0)
===================================================================
--- ha_mroonga.cpp    2017-07-19 22:08:39 +0900 (60a8498)
+++ ha_mroonga.cpp    2017-07-19 22:16:36 +0900 (908c483)
@@ -883,7 +883,9 @@ static void mrn_query_log_file_update(THD *thd, struct st_mysql_sys_var *var,
     new_query_log_file_name = normalized_new_value;
   }
 
+#ifdef MRN_NEED_FREE_STRING_MEMALLOC_PLUGIN_VAR
   char *old_query_log_file_name = *old_value_ptr;
+#endif
   if (new_query_log_file_name) {
     *old_value_ptr = mrn_my_strdup(new_query_log_file_name, MYF(0));
   } else {
-------------- next part --------------
HTML����������������������������...
Download 



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