[Groonga-commit] groonga/groonga [master] token: remove needless code

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 5 12:59:35 JST 2012


Kouhei Sutou	2012-11-05 12:59:35 +0900 (Mon, 05 Nov 2012)

  New Revision: 575eb67b45300b30ae5ebaabab23545a148241bb
  https://github.com/groonga/groonga/commit/575eb67b45300b30ae5ebaabab23545a148241bb

  Log:
    token: remove needless code
    
    token->curr is intialized in grn_token_open(). Sorry.

  Modified files:
    lib/token.c

  Modified: lib/token.c (+0 -2)
===================================================================
--- lib/token.c    2012-11-05 12:44:45 +0900 (6d0bb6c)
+++ lib/token.c    2012-11-05 12:59:35 +0900 (4fce9bb)
@@ -506,8 +506,6 @@ grn_token_next(grn_ctx *ctx, grn_token *token)
       }
     } else {
       token->status = grn_token_done;
-      token->curr = token->orig;
-      token->curr_size = token->orig_blen;
     }
     if (token->mode == grn_token_add) {
       switch (table->header.type) {
-------------- next part --------------
HTML����������������������������...
Download 



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