diff --git a/profile.c b/profile.c index 16522db99..39db599ce 100644 --- a/profile.c +++ b/profile.c @@ -152,12 +152,11 @@ static struct sample *next_minmax(struct sample *sample, struct sample *end, int result = NULL; for (;;) { - int time, depth; + int depth; sample++; if (sample >= end) return NULL; - time = sample->time.seconds; depth = sample->depth.mm; if (minmax) {