mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
bd315a4804
commit
30d228f104
1 changed files with 1 additions and 2 deletions
|
@ -152,12 +152,11 @@ static struct sample *next_minmax(struct sample *sample, struct sample *end, int
|
||||||
result = NULL;
|
result = NULL;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int time, depth;
|
int depth;
|
||||||
|
|
||||||
sample++;
|
sample++;
|
||||||
if (sample >= end)
|
if (sample >= end)
|
||||||
return NULL;
|
return NULL;
|
||||||
time = sample->time.seconds;
|
|
||||||
depth = sample->depth.mm;
|
depth = sample->depth.mm;
|
||||||
|
|
||||||
if (minmax) {
|
if (minmax) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue