From c529cfd361365d3440823efe289a68af6310a983 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 16 Apr 2019 21:58:26 +0200 Subject: Cleanup: remove for_each_gps_location macro This macro had no users. Signed-off-by: Berthold Stoeger --- core/dive.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 7a6cf4099..588ed7041 100644 --- a/core/dive.h +++ b/core/dive.h @@ -452,9 +452,6 @@ void split_divecomputer(const struct dive *src, int num, struct dive **out1, str #define for_each_dc(_dive, _dc) \ for (_dc = &_dive->dc; _dc; _dc = _dc->next) -#define for_each_gps_location(_i, _x) \ - for ((_i) = 0; ((_x) = get_gps_location(_i, &gps_location_table)) != NULL; (_i)++) - extern struct dive *get_dive_by_uniq_id(int id); extern int get_idx_by_uniq_id(int id); extern bool dive_site_has_gps_location(const struct dive_site *ds); -- cgit v1.2.3-70-g09d2