From: Dirk Hohndel Date: Thu, 8 Sep 2011 04:12:13 +0000 (-0700) Subject: Remove unused variable X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=30d228f104b5f1eb2c8354460b19e0b367d899ee;p=ext%2Fsubsurface.git Remove unused variable This fixes a compile warning Signed-off-by: Dirk Hohndel Signed-off-by: Linus Torvalds --- 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) {