From dcb2a17b7dcef6bd0802897f9ef2cfbe4206fe61 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 18 Nov 2018 10:59:14 +0100 Subject: [PATCH] Core: remove two unused macros The UNGROUPED_DIVE and DIVE_IN_TRIP were never used. Remove them. Signed-off-by: Berthold Stoeger --- core/dive.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/dive.h b/core/dive.h index 18c40c6cf..ef02d3ce6 100644 --- a/core/dive.h +++ b/core/dive.h @@ -419,8 +419,6 @@ extern bool autogroup; * regularly dive at a local facility; this is why trips are an optional feature */ #define TRIP_THRESHOLD 3600 * 24 * 3 -#define UNGROUPED_DIVE(_dive) ((_dive)->tripflag == NO_TRIP) -#define DIVE_IN_TRIP(_dive) ((_dive)->tripflag == IN_TRIP || (_dive)->tripflag == ASSIGNED_TRIP) #define DIVE_NEEDS_TRIP(_dive) ((_dive)->tripflag == TF_NONE) extern void add_dive_to_trip(struct dive *, dive_trip_t *);