[Groonga-commit] ranguba/rroonga at 827ba1f [master] Fix inverted variable name

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 13 16:50:13 JST 2015


Kouhei Sutou	2015-04-13 16:50:13 +0900 (Mon, 13 Apr 2015)

  New Revision: 827ba1f92df0a81c68241263c2d4fd408b7c1d7b
  https://github.com/ranguba/rroonga/commit/827ba1f92df0a81c68241263c2d4fd408b7c1d7b

  Message:
    Fix inverted variable name

  Modified files:
    ext/groonga/rb-grn-not-equal-operator.c

  Modified: ext/groonga/rb-grn-not-equal-operator.c (+3 -3)
===================================================================
--- ext/groonga/rb-grn-not-equal-operator.c    2015-04-13 16:49:11 +0900 (15d128d)
+++ ext/groonga/rb-grn-not-equal-operator.c    2015-04-13 16:50:13 +0900 (1e7369d)
@@ -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;
@@ -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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index