summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/dive.c b/core/dive.c
index 205de9353..1d2168206 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -424,21 +424,6 @@ double get_weight_units(unsigned int grams, int *frac, const char **units)
return value;
}
-bool has_hr_data(struct divecomputer *dc)
-{
- int i;
- struct sample *sample;
-
- if (!dc)
- return false;
-
- sample = dc->sample;
- for (i = 0; i < dc->samples; i++)
- if (sample[i].heartbeat)
- return true;
- return false;
-}
-
struct dive *alloc_dive(void)
{
struct dive *dive;