[Groonga-commit] groonga/groonga [master] Remove duplicated code

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jan 9 18:53:55 JST 2013


Kouhei Sutou	2013-01-09 18:53:55 +0900 (Wed, 09 Jan 2013)

  New Revision: 72952b77e4ccbc059aee463793cc9a2ff580cde5
  https://github.com/groonga/groonga/commit/72952b77e4ccbc059aee463793cc9a2ff580cde5

  Log:
    Remove duplicated code

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+0 -9)
===================================================================
--- src/groonga.c    2013-01-09 18:53:34 +0900 (1a26095)
+++ src/groonga.c    2013-01-09 18:53:55 +0900 (1e779b1)
@@ -2435,15 +2435,6 @@ main(int argc, char **argv)
     grn_set_default_match_escalation_threshold(default_match_escalation_threshold);
   }
 
-  if (log_level_arg) {
-    static grn_logger_info logger_info;
-    logger_info.max_level = log_level;
-    logger_info.flags = GRN_LOG_TIME | GRN_LOG_MESSAGE;
-    logger_info.func = NULL;
-    logger_info.func_arg = NULL;
-    grn_logger_info_set(&grn_gctx, &logger_info);
-  }
-
   grn_set_segv_handler();
   grn_set_int_handler();
   grn_set_term_handler();
-------------- next part --------------
HTML����������������������������...
下載 



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