Navigation Menu

Skip to content

Commit

Permalink
Initialize as NULL explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 31, 2017
1 parent 1096aaf commit 08c34ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/expr.c
Expand Up @@ -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) { \
Expand Down

0 comments on commit 08c34ac

Please sign in to comment.