From 03b02c935211afd978a928a3d2882e6c69de0b43 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Dec 2017 07:51:47 -0600 Subject: Cleanup: mark parameter as potentially unused Signed-off-by: Dirk Hohndel --- qt-models/diveplannermodel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-models/diveplannermodel.cpp') diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index bfd718ae5..a2aee9850 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -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; } -- cgit v1.2.3-70-g09d2