Silence warnings in cochran.c

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-09 18:03:46 -08:00
parent a61ce696a4
commit ee6f60515c

View file

@ -434,7 +434,7 @@ static void cochran_dive_event(struct divecomputer *dc, const unsigned char *s,
* Parse sample data, extract events and build a dive * Parse sample data, extract events and build a dive
*/ */
static void cochran_parse_samples(struct dive *dive, const unsigned char *log, static void cochran_parse_samples(struct dive *dive, const unsigned char *log,
const unsigned char *samples, int size, const unsigned char *samples, unsigned int size,
unsigned int *duration, double *max_depth, unsigned int *duration, double *max_depth,
double *avg_depth, double *min_temp) double *avg_depth, double *min_temp)
{ {