[Groonga-commit] groonga/groonga [master] Don't call return directy in GRN_API_ENTER

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 31日 (木) 14:47:12 JST


Kouhei Sutou	2012-05-31 14:47:12 +0900 (Thu, 31 May 2012)

  New Revision: 0a0d9ac1ed210bea5192be18ccee881fc175dc71

  Log:
    Don't call return directy in GRN_API_ENTER

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+0 -1)
===================================================================
--- lib/ctx.c    2012-05-31 14:08:05 +0900 (ec250ad)
+++ lib/ctx.c    2012-05-31 14:47:12 +0900 (9cb039f)
@@ -980,7 +980,6 @@ grn_ctx_connect(grn_ctx *ctx, const char *host, int port, int flags)
     grn_com *com = grn_com_copen(ctx, NULL, host, port);
     if (com) {
       ctx->impl->com = com;
-      return GRN_SUCCESS;
     }
   }
 exit :




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