Skip to content

Commit

Permalink
Remove needless initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 18, 2013
1 parent 1389fb7 commit 99ded11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geo.c
Expand Up @@ -632,7 +632,7 @@ grn_geo_table_sort_by_distance(grn_ctx *ctx,
indexed_entries = grn_hash_create(ctx, NULL, sizeof(grn_id), 0,
GRN_OBJ_TABLE_HASH_KEY|GRN_HASH_TINY);
}
for (n_entries = 0, ep = entries + offset; n_entries < limit && ep < entries + n; n_entries++, ep++) {
for (ep = entries + offset; n_entries < limit && ep < entries + n; n_entries++, ep++) {
if (!grn_array_add(ctx, (grn_array *)result, (void **)&v)) {
if (indexed_entries) {
grn_hash_close(ctx, indexed_entries);
Expand Down

0 comments on commit 99ded11

Please sign in to comment.