[fix] fixing a couple of warnings in dedupe/near_dupe

This commit is contained in:
Al
2017-12-31 19:20:17 -05:00
parent 8a917d8594
commit 7651a7b9b9
2 changed files with 5 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ cstring_array *name_word_hashes(char *name, libpostal_normalize_options_t normal
tokenize_add_tokens(token_array, expansion, strlen(expansion), keep_whitespace);
size_t num_tokens = token_array->n;
token_t *tokens = token_array->a;
token_t prev_token;
token_t prev_token = NULL_TOKEN;
char *token_str;
for (size_t j = 0; j < num_tokens; j++) {
token_t token = tokens[j];