[Groonga-commit] groonga/groonga [master] httpd: remove needless code

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 25日 (水) 16:11:12 JST


Kouhei Sutou	2012-07-25 16:11:12 +0900 (Wed, 25 Jul 2012)

  New Revision: 3afc529999ab8126cfb5511e67cbc28d5b8b43c9
  https://github.com/groonga/groonga/commit/3afc529999ab8126cfb5511e67cbc28d5b8b43c9

  Log:
    httpd: remove needless code

  Modified files:
    src/nginx-module/ngx_http_groonga_module.c

  Modified: src/nginx-module/ngx_http_groonga_module.c (+1 -5)
===================================================================
--- src/nginx-module/ngx_http_groonga_module.c    2012-07-25 16:10:25 +0900 (2cecf9f)
+++ src/nginx-module/ngx_http_groonga_module.c    2012-07-25 16:11:12 +0900 (0409e44)
@@ -461,7 +461,6 @@ ngx_http_groonga_init_process(ngx_cycle_t *cycle)
 static void
 ngx_http_groonga_exit_process(ngx_cycle_t *cycle)
 {
-  grn_rc rc;
   ngx_http_conf_ctx_t *http_conf;
   ngx_http_groonga_database_callback_data_t data;
 
@@ -473,10 +472,7 @@ ngx_http_groonga_exit_process(ngx_cycle_t *cycle)
                                  ngx_http_groonga_close_database_callback,
                                  &data);
 
-  rc = grn_fin();
-  if (rc != GRN_SUCCESS) {
-    /* there is nothing we can at this situation... */
-  }
+  grn_fin();
 
   return;
 }
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



Groonga-commit メーリングリストの案内
Back to archive index