Navigation Menu

Skip to content

Commit

Permalink
Ensure initializing grn_scan_info::op
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 23, 2018
1 parent c22a4ee commit b61b11b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/expr.c
Expand Up @@ -1645,6 +1645,7 @@ struct _grn_scan_info {
if (((si) = GRN_MALLOCN(scan_info, 1))) {\
GRN_INT32_INIT(&(si)->wv, GRN_OBJ_VECTOR);\
GRN_PTR_INIT(&(si)->index, GRN_OBJ_VECTOR, GRN_ID_NIL);\
(si)->op = GRN_OP_NOP;\
(si)->logical_op = GRN_OP_OR;\
(si)->flags = SCAN_PUSH;\
(si)->nargs = 0;\
Expand Down

0 comments on commit b61b11b

Please sign in to comment.