cosmo0920
null+****@clear*****
Fri Sep 12 00:49:37 JST 2014
cosmo0920 2014-09-12 00:49:37 +0900 (Fri, 12 Sep 2014) New Revision: cbbff9d617dd2b902482e1cce361902516a54aef https://github.com/groonga/groonga/commit/cbbff9d617dd2b902482e1cce361902516a54aef Merged 467ad4f: Merge pull request #197 from cosmo0920/suppress-warning-expr Message: expr: suppress unused variable 'e' warning `grn_expr *e = (grn_expr *)expr` is defined in `grn_expr_alloc_const()` internal. Modified files: lib/expr.c Modified: lib/expr.c (+0 -3) =================================================================== --- lib/expr.c 2014-09-11 23:54:14 +0900 (e204201) +++ lib/expr.c 2014-09-12 00:49:37 +0900 (771f9bf) @@ -1263,7 +1263,6 @@ grn_expr_append_const(grn_ctx *ctx, grn_obj *expr, grn_obj *obj, grn_operator op, int nargs) { grn_obj *res = NULL; - grn_expr *e = (grn_expr *)expr; GRN_API_ENTER; if (!obj) { ERR(GRN_SYNTAX_ERROR, "constant is null"); @@ -1297,7 +1296,6 @@ static grn_obj * grn_expr_add_str(grn_ctx *ctx, grn_obj *expr, const char *str, unsigned int str_size) { grn_obj *res = NULL; - grn_expr *e = (grn_expr *)expr; if ((res = grn_expr_alloc_const(ctx, expr))) { GRN_TEXT_INIT(res, 0); grn_bulk_write(ctx, res, str, str_size); @@ -1322,7 +1320,6 @@ grn_expr_append_const_int(grn_ctx *ctx, grn_obj *expr, int i, grn_operator op, int nargs) { grn_obj *res = NULL; - grn_expr *e = (grn_expr *)expr; GRN_API_ENTER; if ((res = grn_expr_alloc_const(ctx, expr))) { GRN_INT32_INIT(res, 0); -------------- next part -------------- HTML����������������������������...Download