[Groonga-commit] groonga/groonga at 404fef7 [master] grn_ts: remove an old comment and fix indentation

Back to archive index

susumu.yata null+****@clear*****
Tue Sep 15 18:37:28 JST 2015


susumu.yata	2015-09-15 18:37:28 +0900 (Tue, 15 Sep 2015)

  New Revision: 404fef7be76d4d168f1bc2e4743cdb94a523d737
  https://github.com/groonga/groonga/commit/404fef7be76d4d168f1bc2e4743cdb94a523d737

  Message:
    grn_ts: remove an old comment and fix indentation

  Modified files:
    lib/ts.c

  Modified: lib/ts.c (+1 -3)
===================================================================
--- lib/ts.c    2015-09-15 14:32:19 +0900 (a7a6f4f)
+++ lib/ts.c    2015-09-15 18:37:28 +0900 (c27f9d2)
@@ -1082,8 +1082,6 @@ grn_ts_op_multiplication_float(grn_ts_float lhs, grn_ts_float rhs) {
   return lhs * rhs;
 }
 
-/* TODO: Division and modulus (Note for division by zero). */
-
 /*
  * grn_ts_op_division_int() returns lhs / rhs.
  *
@@ -2988,7 +2986,7 @@ grn_ts_op_division_evaluate(grn_ctx *ctx, grn_ts_expr_op_node *node,
 /* grn_ts_op_modulus_evaluate() evaluates an operator. */
 static grn_rc
 grn_ts_op_modulus_evaluate(grn_ctx *ctx, grn_ts_expr_op_node *node,
-                        const grn_ts_record *in, size_t n_in, void *out) {
+                           const grn_ts_record *in, size_t n_in, void *out) {
   switch (node->data_kind) {
     case GRN_TS_INT: {
       /* Specialized to detect a critical error. */
-------------- next part --------------
HTML����������������������������...
Download 



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