mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d0ac061eaf
commit
dcb2a17b7d
1 changed files with 0 additions and 2 deletions
|
@ -419,8 +419,6 @@ extern bool autogroup;
|
||||||
* regularly dive at a local facility; this is why trips are an optional feature */
|
* regularly dive at a local facility; this is why trips are an optional feature */
|
||||||
#define TRIP_THRESHOLD 3600 * 24 * 3
|
#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)
|
#define DIVE_NEEDS_TRIP(_dive) ((_dive)->tripflag == TF_NONE)
|
||||||
|
|
||||||
extern void add_dive_to_trip(struct dive *, dive_trip_t *);
|
extern void add_dive_to_trip(struct dive *, dive_trip_t *);
|
||||||
|
|
Loading…
Add table
Reference in a new issue