Kouhei Sutou
null+****@clear*****
Thu May 26 09:24:23 JST 2016
Kouhei Sutou 2016-05-26 09:24:23 +0900 (Thu, 26 May 2016) New Revision: 20e72a23bb1b99bd7dfa870b00d3179ed757207e https://github.com/groonga/groonga/commit/20e72a23bb1b99bd7dfa870b00d3179ed757207e Message: Simplify Modified files: lib/db.c Modified: lib/db.c (+5 -8) =================================================================== --- lib/db.c 2016-05-26 09:23:46 +0900 (94c76dd) +++ lib/db.c 2016-05-26 09:24:23 +0900 (6d078c1) @@ -3196,14 +3196,11 @@ grn_accessor_resolve_one_table(grn_ctx *ctx, grn_accessor *accessor, grn_obj *table; table = accessor->obj; - { - grn_rc rc; - *next_res = grn_table_create(ctx, NULL, 0, NULL, - GRN_TABLE_HASH_KEY|GRN_OBJ_WITH_SUBREC, - table, NULL); - if (!*next_res) { - return ctx->rc; - } + *next_res = grn_table_create(ctx, NULL, 0, NULL, + GRN_TABLE_HASH_KEY|GRN_OBJ_WITH_SUBREC, + table, NULL); + if (!*next_res) { + return ctx->rc; } { -------------- next part -------------- HTML����������������������������...下载