[Groonga-commit] groonga/groonga at 74355a5 [master] Remove unused variable

Back to archive index

naoa null+****@clear*****
Sun Feb 21 18:20:17 JST 2016


naoa	2016-02-21 18:20:17 +0900 (Sun, 21 Feb 2016)

  New Revision: 74355a5abdbe4abd315cbc2d9a1d7f48704a0042
  https://github.com/groonga/groonga/commit/74355a5abdbe4abd315cbc2d9a1d7f48704a0042

  Merged a369942: Merge pull request #488 from naoa/fuzzy-search-fix

  Message:
    Remove unused variable

  Modified files:
    lib/proc/proc_fuzzy_search.c

  Modified: lib/proc/proc_fuzzy_search.c (+2 -2)
===================================================================
--- lib/proc/proc_fuzzy_search.c    2016-02-21 18:19:24 +0900 (2d57454)
+++ lib/proc/proc_fuzzy_search.c    2016-02-21 18:20:17 +0900 (fddc2b4)
@@ -318,7 +318,7 @@ selector_fuzzy_search(grn_ctx *ctx, grn_obj *table, grn_obj *index,
     grn_hash_cursor *cursor;
     void *key;
     grn_obj *value;
-    int key_size, value_size;
+    int key_size;
     hash_args_ptr = args[3];
     if (hash_args_ptr->header.type == GRN_PTR) {
       grn_obj *hash;
@@ -340,7 +340,7 @@ selector_fuzzy_search(grn_ctx *ctx, grn_obj *table, grn_obj *index,
         goto exit;
       }
       while (grn_hash_cursor_next(ctx, cursor) != GRN_ID_NIL) {
-        value_size = grn_hash_cursor_get_key_value(ctx, cursor, &key, &key_size, (void **)&value);
+        grn_hash_cursor_get_key_value(ctx, cursor, &key, &key_size, (void **)&value);
 
         if (key_size == 12 && !memcmp(key, "max_distance", 12)) {
           max_distance = GRN_UINT32_VALUE(value);
-------------- next part --------------
HTML����������������������������...
Descargar 



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