Cleanup: mark parameter as potentially unused

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-08 07:51:47 -06:00 committed by Lubomir I. Ivanov
parent fc3828a78e
commit 03b02c9352

View file

@ -1011,6 +1011,8 @@ int DivePlannerPointsModel::analyzeVariations(struct decostop *min, struct decos
#ifdef DEBUG_STOPVAR
printf("Total + %d:%02d/%s +- %d s/%s\n\n", FRACTION((leftsum + rightsum) / 2, 60), unit,
(rightsum - leftsum) / 2, unit);
#else
Q_UNUSED(unit)
#endif
return (leftsum + rightsum) / 2;
}