aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 09:37:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 09:37:12 -0700
commitb70c877b3ce56155107791e3c38a4c9c4d915dff (patch)
treeabc5ad9a780af0b457fced7cafc8899064442614 /qt-ui/profile
parentb42df1dab67d2f90934e24f428475ae5f5f88e86 (diff)
downloadsubsurface-b70c877b3ce56155107791e3c38a4c9c4d915dff.tar.gz
Deal with some uninitialized variable warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index d4ba92bbd..4c4f15bb2 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -159,7 +159,7 @@ void DiveCartesianAxis::updateTicks(color_indice_t color)
} else if (orientation == LeftToRight) {
begin = m.x1();
stepSize = (m.x2() - m.x1());
- } else if (orientation == RightToLeft) {
+ } else /* if (orientation == RightToLeft) */ {
begin = m.x2();
stepSize = (m.x2() - m.x1());
}