Kouhei Sutou
null+****@clear*****
Mon May 2 16:15:23 JST 2016
Kouhei Sutou 2016-05-02 16:15:23 +0900 (Mon, 02 May 2016) New Revision: 1939b01ce24c0770e68960fff54e310c208b1446 https://github.com/groonga/groonga/commit/1939b01ce24c0770e68960fff54e310c208b1446 Message: table_create: use "guard if" style Modified files: lib/proc/proc_table.c Modified: lib/proc/proc_table.c (+5 -1) =================================================================== --- lib/proc/proc_table.c 2016-05-02 16:14:51 +0900 (4f0eb72) +++ lib/proc/proc_table.c 2016-05-02 16:15:23 +0900 (9fe09e0) @@ -270,7 +270,11 @@ command_table_create(grn_ctx *ctx, NULL, flags, key_type, value_type); - if (table) { + if (!table) { + goto exit; + } + + { grn_obj_set_info(ctx, table, GRN_INFO_DEFAULT_TOKENIZER, grn_ctx_get(ctx, -------------- next part -------------- HTML����������������������������...Download