From b70c877b3ce56155107791e3c38a4c9c4d915dff Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 11 Jun 2014 09:37:12 -0700 Subject: Deal with some uninitialized variable warnings Signed-off-by: Dirk Hohndel --- qt-ui/profile/divecartesianaxis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/divecartesianaxis.cpp') 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()); } -- cgit v1.2.3-70-g09d2