Kouhei Sutou
null+****@clear*****
Tue Oct 31 14:59:54 JST 2017
Kouhei Sutou 2017-10-31 14:59:54 +0900 (Tue, 31 Oct 2017) New Revision: 08c34ac3a7c8fcca52f9de6b80521204a24a5f35 https://github.com/groonga/groonga/commit/08c34ac3a7c8fcca52f9de6b80521204a24a5f35 Message: Initialize as NULL explicitly Modified files: lib/expr.c Modified: lib/expr.c (+2 -1) =================================================================== --- lib/expr.c 2017-10-31 12:47:19 +0900 (ce67ef5f3) +++ lib/expr.c 2017-10-31 14:59:54 +0900 (b32228f5b) @@ -1911,7 +1911,8 @@ grn_proc_call(grn_ctx *ctx, grn_obj *proc, int nargs, grn_obj *caller) right_expression_check, \ text_operation, \ invalid_type_error) do { \ - grn_obj *x, *y; \ + grn_obj *x = NULL; \ + grn_obj *y = NULL; \ \ POP2ALLOC1(x, y, res); \ if (x->header.type == GRN_VECTOR || y->header.type == GRN_VECTOR) { \ -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171031/e3a3bd75/attachment.htm