summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-07 21:12:13 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-07 21:36:52 -0700
commit30d228f104b5f1eb2c8354460b19e0b367d899ee (patch)
tree6278015d8b7f1fb1ecefd20e77dc52b1d4285814
parentbd315a4804cf60123c7016ece084f2593df5101f (diff)
downloadsubsurface-30d228f104b5f1eb2c8354460b19e0b367d899ee.tar.gz
Remove unused variable
This fixes a compile warning Signed-off-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--profile.c3
1 files changed, 1 insertions, 2 deletions
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) {