This commit is contained in:
Dirk Hohndel 2018-08-25 11:58:27 -07:00
commit eaf1bdbe5f
3 changed files with 53 additions and 59 deletions

View file

@ -4204,7 +4204,7 @@ const char *get_dive_country(const struct dive *dive)
const char *get_dive_location(const struct dive *dive)
{
struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
const struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
if (ds && ds->name)
return ds->name;
return NULL;