Skip to content

Commit

Permalink
Fix: Warning during build (#1223)
Browse files Browse the repository at this point in the history
Use attr_none as we are handling an attribute type and not an item type.
  • Loading branch information
OLFDB committed Feb 4, 2023
1 parent 216ccc8 commit d4b4087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navit/maptool/osm.c
Expand Up @@ -2163,7 +2163,7 @@ static void osm_process_town_by_boundary_update_attrs(struct item_bin *town, str
/* Administrative centres are not to be contained in their own districts. */
if(max_adm_level>0)
for(a=max_possible_adm_level-1; a>max_adm_level && a>2; a--)
tc->attrs[a-2].type=type_none;
tc->attrs[a-2].type=attr_none;
}

/**
Expand Down

0 comments on commit d4b4087

Please sign in to comment.