Skip to content

Commit

Permalink
Fix unintended variable shadowing
Browse files Browse the repository at this point in the history
"id" is used upper scope.
  • Loading branch information
kou committed Feb 3, 2013
1 parent 6f0e184 commit 36c207e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ grn_record_inspect(grn_ctx *ctx, grn_obj *buf, grn_obj *obj)
GRN_OBJ_TABLE_HASH_KEY|GRN_HASH_TINY))) {
if (grn_table_columns(ctx, table, "", 0, (grn_obj *)cols)) {
grn_id *key;
GRN_HASH_EACH(ctx, cols, id, &key, NULL, NULL, {
GRN_HASH_EACH(ctx, cols, column_id, &key, NULL, NULL, {
grn_obj *col = grn_ctx_at(ctx, *key);
if (col) {
grn_obj value;
Expand Down

0 comments on commit 36c207e

Please sign in to comment.