Navigation Menu

Skip to content

Commit

Permalink
Fix inverted variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 13, 2015
1 parent 2903440 commit 827ba1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/groonga/rb-grn-not-equal-operator.c
Expand Up @@ -46,7 +46,7 @@ VALUE rb_cGrnNotEqualOperator;
static VALUE
rb_grn_not_equal_operator_exec (int argc, VALUE *argv, VALUE self)
{
grn_bool equal;
grn_bool not_equal;
VALUE rb_x;
VALUE rb_y;
VALUE rb_options;
Expand All @@ -66,11 +66,11 @@ rb_grn_not_equal_operator_exec (int argc, VALUE *argv, VALUE self)
GRN_VOID_INIT(&y);
RVAL2GRNBULK(rb_x, context, &x);
RVAL2GRNBULK(rb_y, context, &y);
equal = grn_operator_exec_not_equal(context, &x, &y);
not_equal = grn_operator_exec_not_equal(context, &x, &y);
GRN_OBJ_FIN(context, &x);
GRN_OBJ_FIN(context, &y);

return CBOOL2RVAL(equal);
return CBOOL2RVAL(not_equal);
}

void
Expand Down

0 comments on commit 827ba1f

Please sign in to comment.