[Groonga-commit] groonga/groonga at 88fa514 [master] Simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 24 11:58:01 JST 2017


Kouhei Sutou	2017-08-24 11:58:01 +0900 (Thu, 24 Aug 2017)

  New Revision: 88fa51490bd7bc7946e650dc3c4aed59cd87af8e
  https://github.com/groonga/groonga/commit/88fa51490bd7bc7946e650dc3c4aed59cd87af8e

  Message:
    Simplify

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+1 -4)
===================================================================
--- lib/proc.c    2017-08-24 11:57:35 +0900 (ecd5ed41c)
+++ lib/proc.c    2017-08-24 11:58:01 +0900 (4b0307553)
@@ -3839,8 +3839,7 @@ selector_prefix_rk_search(grn_ctx *ctx,
   if ((nargs - 1) != 2) {
     ERR(GRN_INVALID_ARGUMENT,
         "prefix_rk_serach(): wrong number of arguments (%d for 2)", nargs - 1);
-    rc = ctx->rc;
-    goto exit;
+    return ctx->rc;
   }
 
   column = args[1];
@@ -3918,8 +3917,6 @@ selector_prefix_rk_search(grn_ctx *ctx,
                                        res,
                                        op);
   }
-
-exit :
   return rc;
 }
 
-------------- next part --------------
HTML����������������������������...
Descargar 



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