diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-12-08 07:51:47 -0600 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-12-08 16:29:49 +0100 |
commit | 03b02c935211afd978a928a3d2882e6c69de0b43 (patch) | |
tree | 809b9c596de8e46d9cf241d60d6910608a158117 /qt-models/diveplannermodel.cpp | |
parent | fc3828a78e10660a482b5c89fcfb0e1be1c79a0c (diff) | |
download | subsurface-03b02c935211afd978a928a3d2882e6c69de0b43.tar.gz |
Cleanup: mark parameter as potentially unused
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r-- | qt-models/diveplannermodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |