[Groonga-commit] groonga/groonga at 98f51fd [master] Remove a duplicated variable

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 27 14:35:50 JST 2015


Kouhei Sutou	2015-07-27 14:35:50 +0900 (Mon, 27 Jul 2015)

  New Revision: 98f51fd30b3f31e28299adcc699c4303756d14a3
  https://github.com/groonga/groonga/commit/98f51fd30b3f31e28299adcc699c4303756d14a3

  Message:
    Remove a duplicated variable

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -2)
===================================================================
--- lib/expr.c    2015-07-27 13:24:19 +0900 (7630913)
+++ lib/expr.c    2015-07-27 14:35:50 +0900 (a5ad6eb)
@@ -5178,8 +5178,7 @@ grn_table_select_index(grn_ctx *ctx, grn_obj *table, scan_info *si,
           }
         }
       } else {
-        grn_obj *i = GRN_PTR_VALUE(&si->index);
-        grn_obj *domain = grn_ctx_at(ctx, i->header.domain);
+        grn_obj *domain = grn_ctx_at(ctx, index->header.domain);
         if (domain) {
           grn_hash *pres;
           if ((pres = grn_hash_create(ctx, NULL, sizeof(grn_id), 0,
-------------- next part --------------
HTML����������������������������...
Télécharger 



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