if (f->role != VALUE_INNER && f->role != VALUE_OUTER)
{
if (!inner)
- osm_obj_warn(o, "Unknown role %s in multipolygon relation", osm_val_decode(f->role));
+ osm_obj_warn(o, "Unknown role %s in multipolygon relation", f->role ? osm_val_decode(f->role) : "<none>");
continue;
}
if ((f->role == VALUE_INNER) != inner)