[Groonga-commit] groonga/grngo at 31fb863 [master] Remove a useless variable.

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 24 19:37:44 JST 2015


susumu.yata	2015-07-24 19:37:44 +0900 (Fri, 24 Jul 2015)

  New Revision: 31fb8630b624c1b2f2a0b2b92e668a1ac08b5c0c
  https://github.com/groonga/grngo/commit/31fb8630b624c1b2f2a0b2b92e668a1ac08b5c0c

  Message:
    Remove a useless variable.

  Modified files:
    grngo.c

  Modified: grngo.c (+1 -2)
===================================================================
--- grngo.c    2015-07-24 19:20:59 +0900 (5cd699a)
+++ grngo.c    2015-07-24 19:37:44 +0900 (c44949c)
@@ -1137,8 +1137,7 @@ _grngo_get_value(grngo_column *column, const grn_id *ids, size_t n_ids) {
       offset = size;
     }
     if (column->text_buf) {
-      size_t n_texts = offset;
-      for (i = 0; i < n_texts; i++) {
+      for (i = 0; i < offset; i++) {
         grngo_text text;
         text.size = grn_vector_get_element(ctx, src_buf, i,
                                            &text.ptr, NULL, NULL);
-------------- next part --------------
HTML����������������������������...
Download 



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