mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Unused code: remove trip_has_selected_dives()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
69b922dc72
commit
c69ea1de1b
2 changed files with 0 additions and 11 deletions
|
@ -95,16 +95,6 @@ dive_trip_t *find_trip_by_idx(int idx)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int trip_has_selected_dives(dive_trip_t *trip)
|
||||
{
|
||||
struct dive *dive;
|
||||
for (dive = trip->dives; dive; dive = dive->next) {
|
||||
if (dive->selected)
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get "maximal" dive gas for a dive.
|
||||
* Rules:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue