Navigation Menu

Skip to content

Commit

Permalink
fix gcc warning in GRN_EXPR_CREATE_FOR_QUERY()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryo Onodera committed Oct 27, 2009
1 parent e8f1f4c commit 24d0261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions groonga.h
Expand Up @@ -1919,6 +1919,8 @@ GRN_API int grn_obj_columns(grn_ctx *ctx, grn_obj *table,
if (((expr) = grn_expr_create((ctx), NULL, 0)) &&\
((var) = grn_expr_add_var((ctx), (expr), NULL, 0))) {\
GRN_RECORD_INIT((var), 0, grn_obj_id((ctx), (table)));\
} else {\
(var) = NULL;\
}

GRN_API grn_rc grn_expr_parse(grn_ctx *ctx, grn_obj *expr,
Expand Down

0 comments on commit 24d0261

Please sign in to comment.