diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-07 21:12:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-07 21:36:52 -0700 |
commit | 30d228f104b5f1eb2c8354460b19e0b367d899ee (patch) | |
tree | 6278015d8b7f1fb1ecefd20e77dc52b1d4285814 | |
parent | bd315a4804cf60123c7016ece084f2593df5101f (diff) | |
download | subsurface-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |