]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Remove unused variable
authorDirk Hohndel <dirk@hohndel.org>
Thu, 8 Sep 2011 04:12:13 +0000 (21:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 8 Sep 2011 04:36:52 +0000 (21:36 -0700)
This fixes a compile warning

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
profile.c

index 16522db99659e25268a7dde2697f2773ee1e99c0..39db599cec7246245d6cb4f936dc206ec4f5eb8c 100644 (file)
--- 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) {