X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=profile.c;h=39db599cec7246245d6cb4f936dc206ec4f5eb8c;hb=30d228f104b5f1eb2c8354460b19e0b367d899ee;hp=16522db99659e25268a7dde2697f2773ee1e99c0;hpb=bd315a4804cf60123c7016ece084f2593df5101f;p=ext%2Fsubsurface.git diff --git a/profile.c b/profile.c index 16522db..39db599 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) {