mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Cleanup: mark parameter as potentially unused
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fc3828a78e
commit
03b02c9352
1 changed files with 2 additions and 0 deletions
|
@ -1011,6 +1011,8 @@ int DivePlannerPointsModel::analyzeVariations(struct decostop *min, struct decos
|
||||||
#ifdef DEBUG_STOPVAR
|
#ifdef DEBUG_STOPVAR
|
||||||
printf("Total + %d:%02d/%s +- %d s/%s\n\n", FRACTION((leftsum + rightsum) / 2, 60), unit,
|
printf("Total + %d:%02d/%s +- %d s/%s\n\n", FRACTION((leftsum + rightsum) / 2, 60), unit,
|
||||||
(rightsum - leftsum) / 2, unit);
|
(rightsum - leftsum) / 2, unit);
|
||||||
|
#else
|
||||||
|
Q_UNUSED(unit)
|
||||||
#endif
|
#endif
|
||||||
return (leftsum + rightsum) / 2;
|
return (leftsum + rightsum) / 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue