]> git.tdb.fi Git - ext/subsurface.git/blobdiff - profile.c
Remove unused variable
[ext/subsurface.git] / 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) {