summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-11-18 10:59:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-20 08:14:54 -0800
commitdcb2a17b7dcef6bd0802897f9ef2cfbe4206fe61 (patch)
tree150e0ad8e5836cb206db6e765b47a7ae5e5d618c
parentd0ac061eafaa8e8e471eab4f956c9e2792e94915 (diff)
downloadsubsurface-dcb2a17b7dcef6bd0802897f9ef2cfbe4206fe61.tar.gz
Core: remove two unused macros
The UNGROUPED_DIVE and DIVE_IN_TRIP were never used. Remove them. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/dive.h2
1 files changed, 0 insertions, 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 *);