From 5faf3f941056fae32b8d7103cb2c96418b8e3fda Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Sat, 20 May 2017 11:16:26 +0200 Subject: Unused code: has_hr_data() Signed-off-by: Jan Mulder --- core/dive.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'core/dive.c') 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; -- cgit v1.2.3-70-g09d2