Navigation Menu

Skip to content

Commit

Permalink
clang: suppress warnings
Browse files Browse the repository at this point in the history
Remove needless "unsigned". Any character in the target string isn't
compared in the function.
  • Loading branch information
kou committed Jun 11, 2013
1 parent e6e1b31 commit 91fa69d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tokenizer.c
Expand Up @@ -251,9 +251,9 @@ grn_tokenizer_tokenized_delimiter_next(grn_ctx *ctx,
grn_encoding encoding)
{
size_t char_length = 0;
const unsigned char *start = str_ptr;
const unsigned char *current;
const unsigned char *end = str_ptr + str_length;
const char *start = str_ptr;
const char *current;
const char *end = str_ptr + str_length;
const char *next_start = NULL;
unsigned int token_length;
grn_tokenizer_status status;
Expand Down

0 comments on commit 91fa69d

Please sign in to comment.